Linux v4.11-12441-g56868a4
This commit is contained in:
parent
bd32781ec2
commit
48953e19ba
1080
AllWinner-h3.patch
1080
AllWinner-h3.patch
File diff suppressed because it is too large
Load Diff
@ -26,21 +26,21 @@ index 011808490fed..ccdff6650541 100644
|
|||||||
--- a/arch/arm/boot/dts/Makefile
|
--- a/arch/arm/boot/dts/Makefile
|
||||||
+++ b/arch/arm/boot/dts/Makefile
|
+++ b/arch/arm/boot/dts/Makefile
|
||||||
@@ -353,6 +353,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
|
@@ -353,6 +353,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
|
||||||
imx6dl-gw552x.dtb \
|
imx6dl-gw5903.dtb \
|
||||||
imx6dl-gw553x.dtb \
|
imx6dl-gw5904.dtb \
|
||||||
imx6dl-hummingboard.dtb \
|
imx6dl-hummingboard.dtb \
|
||||||
+ imx6dl-hummingboard2.dtb \
|
+ imx6dl-hummingboard2.dtb \
|
||||||
imx6dl-icore.dtb \
|
imx6dl-icore.dtb \
|
||||||
imx6dl-icore-rqs.dtb \
|
imx6dl-icore-rqs.dtb \
|
||||||
imx6dl-nit6xlite.dtb \
|
imx6dl-nit6xlite.dtb \
|
||||||
@@ -397,6 +398,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
|
@@ -397,6 +398,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
|
||||||
imx6q-gw553x.dtb \
|
imx6q-gw5904.dtb \
|
||||||
imx6q-h100.dtb \
|
imx6q-h100.dtb \
|
||||||
imx6q-hummingboard.dtb \
|
imx6q-hummingboard.dtb \
|
||||||
+ imx6q-hummingboard2.dtb \
|
+ imx6q-hummingboard2.dtb \
|
||||||
imx6q-icore.dtb \
|
imx6q-icore.dtb \
|
||||||
imx6q-icore-rqs.dtb \
|
imx6q-icore-ofcap10.dtb \
|
||||||
imx6q-marsboard.dtb \
|
imx6q-icore-ofcap12.dtb \
|
||||||
diff --git a/arch/arm/boot/dts/imx6dl-hummingboard2.dts b/arch/arm/boot/dts/imx6dl-hummingboard2.dts
|
diff --git a/arch/arm/boot/dts/imx6dl-hummingboard2.dts b/arch/arm/boot/dts/imx6dl-hummingboard2.dts
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 000000000000..990b5050de5b
|
index 000000000000..990b5050de5b
|
||||||
|
@ -1,573 +0,0 @@
|
|||||||
From 223599514133293bb9afe7b82937140c3b275877 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Eddie Cai <eddie.cai.linux@gmail.com>
|
|
||||||
Date: Tue, 14 Feb 2017 18:07:31 +0800
|
|
||||||
Subject: ARM: dts: rockchip: add dts for RK3288-Tinker board
|
|
||||||
|
|
||||||
This patch add basic support for RK3288-Tinker board. We can boot in to rootfs
|
|
||||||
with this patch.
|
|
||||||
|
|
||||||
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
|
|
||||||
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
||||||
---
|
|
||||||
arch/arm/boot/dts/Makefile | 1 +
|
|
||||||
arch/arm/boot/dts/rk3288-tinker.dts | 536 ++++++++++++++++++++++++++++++++++++
|
|
||||||
2 files changed, 537 insertions(+)
|
|
||||||
create mode 100644 arch/arm/boot/dts/rk3288-tinker.dts
|
|
||||||
|
|
||||||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
|
||||||
index 0118084..fb46849 100644
|
|
||||||
--- a/arch/arm/boot/dts/Makefile
|
|
||||||
+++ b/arch/arm/boot/dts/Makefile
|
|
||||||
@@ -695,6 +695,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
|
|
||||||
rk3288-popmetal.dtb \
|
|
||||||
rk3288-r89.dtb \
|
|
||||||
rk3288-rock2-square.dtb \
|
|
||||||
+ rk3288-tinker.dtb \
|
|
||||||
rk3288-veyron-brain.dtb \
|
|
||||||
rk3288-veyron-jaq.dtb \
|
|
||||||
rk3288-veyron-jerry.dtb \
|
|
||||||
diff --git a/arch/arm/boot/dts/rk3288-tinker.dts b/arch/arm/boot/dts/rk3288-tinker.dts
|
|
||||||
new file mode 100644
|
|
||||||
index 0000000..f601c78
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/arch/arm/boot/dts/rk3288-tinker.dts
|
|
||||||
@@ -0,0 +1,536 @@
|
|
||||||
+/*
|
|
||||||
+ * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
|
|
||||||
+ *
|
|
||||||
+ * This file is dual-licensed: you can use it either under the terms
|
|
||||||
+ * of the GPL or the X11 license, at your option. Note that this dual
|
|
||||||
+ * licensing only applies to this file, and not this project as a
|
|
||||||
+ * whole.
|
|
||||||
+ *
|
|
||||||
+ * a) 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 file is distributed in the hope that it will be useful,
|
|
||||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
+ * GNU General Public License for more details.
|
|
||||||
+ *
|
|
||||||
+ * Or, alternatively,
|
|
||||||
+ *
|
|
||||||
+ * b) 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 AUTHORS OR COPYRIGHT
|
|
||||||
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
||||||
+ * OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
+ */
|
|
||||||
+
|
|
||||||
+/dts-v1/;
|
|
||||||
+
|
|
||||||
+#include "rk3288.dtsi"
|
|
||||||
+#include <dt-bindings/input/input.h>
|
|
||||||
+
|
|
||||||
+/ {
|
|
||||||
+ model = "Rockchip RK3288 Tinker Board";
|
|
||||||
+ compatible = "asus,rk3288-tinker", "rockchip,rk3288";
|
|
||||||
+
|
|
||||||
+ memory {
|
|
||||||
+ reg = <0x0 0x80000000>;
|
|
||||||
+ device_type = "memory";
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ ext_gmac: external-gmac-clock {
|
|
||||||
+ compatible = "fixed-clock";
|
|
||||||
+ #clock-cells = <0>;
|
|
||||||
+ clock-frequency = <125000000>;
|
|
||||||
+ clock-output-names = "ext_gmac";
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ gpio-keys {
|
|
||||||
+ compatible = "gpio-keys";
|
|
||||||
+ #address-cells = <1>;
|
|
||||||
+ #size-cells = <0>;
|
|
||||||
+ autorepeat;
|
|
||||||
+
|
|
||||||
+ pinctrl-names = "default";
|
|
||||||
+ pinctrl-0 = <&pwrbtn>;
|
|
||||||
+
|
|
||||||
+ button@0 {
|
|
||||||
+ gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
|
|
||||||
+ linux,code = <KEY_POWER>;
|
|
||||||
+ label = "GPIO Key Power";
|
|
||||||
+ linux,input-type = <1>;
|
|
||||||
+ wakeup-source;
|
|
||||||
+ debounce-interval = <100>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ gpio-leds {
|
|
||||||
+ compatible = "gpio-leds";
|
|
||||||
+
|
|
||||||
+ act-led {
|
|
||||||
+ gpios=<&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>;
|
|
||||||
+ linux,default-trigger="mmc0";
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ heartbeat-led {
|
|
||||||
+ gpios=<&gpio1 RK_PD1 GPIO_ACTIVE_HIGH>;
|
|
||||||
+ linux,default-trigger="heartbeat";
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ pwr-led {
|
|
||||||
+ gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>;
|
|
||||||
+ linux,default-trigger = "default-on";
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ sound {
|
|
||||||
+ compatible = "simple-audio-card";
|
|
||||||
+ simple-audio-card,format = "i2s";
|
|
||||||
+ simple-audio-card,name = "rockchip,tinker-codec";
|
|
||||||
+ simple-audio-card,mclk-fs = <512>;
|
|
||||||
+
|
|
||||||
+ simple-audio-card,codec {
|
|
||||||
+ sound-dai = <&hdmi>;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ simple-audio-card,cpu {
|
|
||||||
+ sound-dai = <&i2s>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc_sys: vsys-regulator {
|
|
||||||
+ compatible = "regulator-fixed";
|
|
||||||
+ regulator-name = "vcc_sys";
|
|
||||||
+ regulator-min-microvolt = <5000000>;
|
|
||||||
+ regulator-max-microvolt = <5000000>;
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc_sd: sdmmc-regulator {
|
|
||||||
+ compatible = "regulator-fixed";
|
|
||||||
+ gpio = <&gpio7 11 GPIO_ACTIVE_LOW>;
|
|
||||||
+ pinctrl-names = "default";
|
|
||||||
+ pinctrl-0 = <&sdmmc_pwr>;
|
|
||||||
+ regulator-name = "vcc_sd";
|
|
||||||
+ regulator-min-microvolt = <3300000>;
|
|
||||||
+ regulator-max-microvolt = <3300000>;
|
|
||||||
+ startup-delay-us = <100000>;
|
|
||||||
+ vin-supply = <&vcc_io>;
|
|
||||||
+ };
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&cpu0 {
|
|
||||||
+ cpu0-supply = <&vdd_cpu>;
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&gmac {
|
|
||||||
+ assigned-clocks = <&cru SCLK_MAC>;
|
|
||||||
+ assigned-clock-parents = <&ext_gmac>;
|
|
||||||
+ clock_in_out = "input";
|
|
||||||
+ phy-mode = "rgmii";
|
|
||||||
+ phy-supply = <&vcc33_lan>;
|
|
||||||
+ pinctrl-names = "default";
|
|
||||||
+ pinctrl-0 = <&rgmii_pins>;
|
|
||||||
+ snps,reset-gpio = <&gpio4 7 0>;
|
|
||||||
+ snps,reset-active-low;
|
|
||||||
+ snps,reset-delays-us = <0 10000 1000000>;
|
|
||||||
+ tx_delay = <0x30>;
|
|
||||||
+ rx_delay = <0x10>;
|
|
||||||
+ status = "ok";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&hdmi {
|
|
||||||
+ ddc-i2c-bus = <&i2c5>;
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&i2c0 {
|
|
||||||
+ clock-frequency = <400000>;
|
|
||||||
+ status = "okay";
|
|
||||||
+
|
|
||||||
+ rk808: pmic@1b {
|
|
||||||
+ compatible = "rockchip,rk808";
|
|
||||||
+ reg = <0x1b>;
|
|
||||||
+ interrupt-parent = <&gpio0>;
|
|
||||||
+ interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
|
|
||||||
+ #clock-cells = <1>;
|
|
||||||
+ clock-output-names = "xin32k", "rk808-clkout2";
|
|
||||||
+ dvs-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>,
|
|
||||||
+ <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
|
||||||
+ pinctrl-names = "default";
|
|
||||||
+ pinctrl-0 = <&pmic_int &global_pwroff &dvs_1 &dvs_2>;
|
|
||||||
+ rockchip,system-power-controller;
|
|
||||||
+ wakeup-source;
|
|
||||||
+
|
|
||||||
+ vcc1-supply = <&vcc_sys>;
|
|
||||||
+ vcc2-supply = <&vcc_sys>;
|
|
||||||
+ vcc3-supply = <&vcc_sys>;
|
|
||||||
+ vcc4-supply = <&vcc_sys>;
|
|
||||||
+ vcc6-supply = <&vcc_sys>;
|
|
||||||
+ vcc7-supply = <&vcc_sys>;
|
|
||||||
+ vcc8-supply = <&vcc_io>;
|
|
||||||
+ vcc9-supply = <&vcc_io>;
|
|
||||||
+ vcc10-supply = <&vcc_io>;
|
|
||||||
+ vcc11-supply = <&vcc_sys>;
|
|
||||||
+ vcc12-supply = <&vcc_io>;
|
|
||||||
+ vddio-supply = <&vcc_io>;
|
|
||||||
+
|
|
||||||
+ regulators {
|
|
||||||
+ vdd_cpu: DCDC_REG1 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-min-microvolt = <750000>;
|
|
||||||
+ regulator-max-microvolt = <1350000>;
|
|
||||||
+ regulator-name = "vdd_arm";
|
|
||||||
+ regulator-ramp-delay = <6000>;
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-off-in-suspend;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vdd_gpu: DCDC_REG2 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-min-microvolt = <850000>;
|
|
||||||
+ regulator-max-microvolt = <1250000>;
|
|
||||||
+ regulator-name = "vdd_gpu";
|
|
||||||
+ regulator-ramp-delay = <6000>;
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ regulator-suspend-microvolt = <1000000>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc_ddr: DCDC_REG3 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-name = "vcc_ddr";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc_io: DCDC_REG4 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-min-microvolt = <3300000>;
|
|
||||||
+ regulator-max-microvolt = <3300000>;
|
|
||||||
+ regulator-name = "vcc_io";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ regulator-suspend-microvolt = <3300000>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc18_ldo1: LDO_REG1 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-min-microvolt = <1800000>;
|
|
||||||
+ regulator-max-microvolt = <1800000>;
|
|
||||||
+ regulator-name = "vcc18_ldo1";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ regulator-suspend-microvolt = <1800000>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc33_mipi: LDO_REG2 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-min-microvolt = <3300000>;
|
|
||||||
+ regulator-max-microvolt = <3300000>;
|
|
||||||
+ regulator-name = "vcc33_mipi";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-off-in-suspend;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vdd_10: LDO_REG3 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-min-microvolt = <1000000>;
|
|
||||||
+ regulator-max-microvolt = <1000000>;
|
|
||||||
+ regulator-name = "vdd_10";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ regulator-suspend-microvolt = <1000000>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc18_codec: LDO_REG4 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-min-microvolt = <1800000>;
|
|
||||||
+ regulator-max-microvolt = <1800000>;
|
|
||||||
+ regulator-name = "vcc18_codec";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ regulator-suspend-microvolt = <1800000>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vccio_sd: LDO_REG5 {
|
|
||||||
+ regulator-min-microvolt = <1800000>;
|
|
||||||
+ regulator-max-microvolt = <3300000>;
|
|
||||||
+ regulator-name = "vccio_sd";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ regulator-suspend-microvolt = <3300000>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vdd10_lcd: LDO_REG6 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-min-microvolt = <1000000>;
|
|
||||||
+ regulator-max-microvolt = <1000000>;
|
|
||||||
+ regulator-name = "vdd10_lcd";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ regulator-suspend-microvolt = <1000000>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc_18: LDO_REG7 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-min-microvolt = <1800000>;
|
|
||||||
+ regulator-max-microvolt = <1800000>;
|
|
||||||
+ regulator-name = "vcc_18";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ regulator-suspend-microvolt = <1800000>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc18_lcd: LDO_REG8 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-min-microvolt = <1800000>;
|
|
||||||
+ regulator-max-microvolt = <1800000>;
|
|
||||||
+ regulator-name = "vcc18_lcd";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ regulator-suspend-microvolt = <1800000>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc33_sd: SWITCH_REG1 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-name = "vcc33_sd";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ vcc33_lan: SWITCH_REG2 {
|
|
||||||
+ regulator-always-on;
|
|
||||||
+ regulator-boot-on;
|
|
||||||
+ regulator-name = "vcc33_lan";
|
|
||||||
+ regulator-state-mem {
|
|
||||||
+ regulator-on-in-suspend;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&i2c2 {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&i2c5 {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&i2s {
|
|
||||||
+ #sound-dai-cells = <0>;
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&io_domains {
|
|
||||||
+ status = "okay";
|
|
||||||
+
|
|
||||||
+ sdcard-supply = <&vccio_sd>;
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&pinctrl {
|
|
||||||
+ pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
|
|
||||||
+ drive-strength = <8>;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
|
|
||||||
+ bias-pull-up;
|
|
||||||
+ drive-strength = <8>;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ backlight {
|
|
||||||
+ bl_en: bl-en {
|
|
||||||
+ rockchip,pins = <7 2 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ buttons {
|
|
||||||
+ pwrbtn: pwrbtn {
|
|
||||||
+ rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ eth_phy {
|
|
||||||
+ eth_phy_pwr: eth-phy-pwr {
|
|
||||||
+ rockchip,pins = <0 6 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ pmic {
|
|
||||||
+ pmic_int: pmic-int {
|
|
||||||
+ rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO \
|
|
||||||
+ &pcfg_pull_up>;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ dvs_1: dvs-1 {
|
|
||||||
+ rockchip,pins = <RK_GPIO0 11 RK_FUNC_GPIO \
|
|
||||||
+ &pcfg_pull_down>;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ dvs_2: dvs-2 {
|
|
||||||
+ rockchip,pins = <RK_GPIO0 12 RK_FUNC_GPIO \
|
|
||||||
+ &pcfg_pull_down>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ sdmmc {
|
|
||||||
+ sdmmc_bus4: sdmmc-bus4 {
|
|
||||||
+ rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
|
|
||||||
+ <6 17 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
|
|
||||||
+ <6 18 RK_FUNC_1 &pcfg_pull_up_drv_8ma>,
|
|
||||||
+ <6 19 RK_FUNC_1 &pcfg_pull_up_drv_8ma>;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ sdmmc_clk: sdmmc-clk {
|
|
||||||
+ rockchip,pins = <6 20 RK_FUNC_1 \
|
|
||||||
+ &pcfg_pull_none_drv_8ma>;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ sdmmc_cmd: sdmmc-cmd {
|
|
||||||
+ rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up_drv_8ma>;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ sdmmc_pwr: sdmmc-pwr {
|
|
||||||
+ rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ usb {
|
|
||||||
+ host_vbus_drv: host-vbus-drv {
|
|
||||||
+ rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
+ };
|
|
||||||
+
|
|
||||||
+ pwr_3g: pwr-3g {
|
|
||||||
+ rockchip,pins = <7 8 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
||||||
+ };
|
|
||||||
+ };
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&pwm0 {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&saradc {
|
|
||||||
+ vref-supply = <&vcc18_ldo1>;
|
|
||||||
+ status ="okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&sdmmc {
|
|
||||||
+ bus-width = <4>;
|
|
||||||
+ cap-mmc-highspeed;
|
|
||||||
+ cap-sd-highspeed;
|
|
||||||
+ card-detect-delay = <200>;
|
|
||||||
+ disable-wp; /* wp not hooked up */
|
|
||||||
+ num-slots = <1>;
|
|
||||||
+ pinctrl-names = "default";
|
|
||||||
+ pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
|
|
||||||
+ status = "okay";
|
|
||||||
+ vmmc-supply = <&vcc33_sd>;
|
|
||||||
+ vqmmc-supply = <&vccio_sd>;
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&tsadc {
|
|
||||||
+ rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
|
|
||||||
+ rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&uart0 {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&uart1 {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&uart2 {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&uart3 {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&uart4 {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&usbphy {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&usb_host0_ehci {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&usb_host1 {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&usb_otg {
|
|
||||||
+ status= "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&vopb {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&vopb_mmu {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&vopl {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&vopl_mmu {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+&wdt {
|
|
||||||
+ status = "okay";
|
|
||||||
+};
|
|
||||||
--
|
|
||||||
cgit v1.1
|
|
||||||
|
|
1
baseconfig/arm/armv7/armv7/CONFIG_IMX7_PM_DOMAINS
Normal file
1
baseconfig/arm/armv7/armv7/CONFIG_IMX7_PM_DOMAINS
Normal file
@ -0,0 +1 @@
|
|||||||
|
CONFIG_IMX7_PM_DOMAINS=y
|
@ -1,29 +0,0 @@
|
|||||||
From 25ea82d7f7c869ff81ff8e64d24c5c4a896239fe Mon Sep 17 00:00:00 2001
|
|
||||||
From: Boris Brezillon <boris.brezillon@free-electrons.com>
|
|
||||||
Date: Mon, 27 Feb 2017 12:28:03 -0800
|
|
||||||
Subject: [PATCH 3/3] ARM: dts: bcm283x: Add HDMI audio related properties
|
|
||||||
|
|
||||||
Add the dmas and dma-names properties to support HDMI audio.
|
|
||||||
|
|
||||||
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
|
|
||||||
Signed-off-by: Eric Anholt <eric@anholt.net>
|
|
||||||
---
|
|
||||||
arch/arm/boot/dts/bcm283x.dtsi | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
|
|
||||||
index a3106aa446c6..a31b0b303ddc 100644
|
|
||||||
--- a/arch/arm/boot/dts/bcm283x.dtsi
|
|
||||||
+++ b/arch/arm/boot/dts/bcm283x.dtsi
|
|
||||||
@@ -499,6 +499,8 @@
|
|
||||||
clocks = <&clocks BCM2835_PLLH_PIX>,
|
|
||||||
<&clocks BCM2835_CLOCK_HSM>;
|
|
||||||
clock-names = "pixel", "hdmi";
|
|
||||||
+ dmas = <&dma 17>;
|
|
||||||
+ dma-names = "audio-rx";
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
--
|
|
||||||
2.12.0
|
|
||||||
|
|
@ -36,7 +36,7 @@ diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchi
|
|||||||
index 87669f6..9aec54e 100644
|
index 87669f6..9aec54e 100644
|
||||||
--- a/arch/arm64/boot/dts/rockchip/Makefile
|
--- a/arch/arm64/boot/dts/rockchip/Makefile
|
||||||
+++ b/arch/arm64/boot/dts/rockchip/Makefile
|
+++ b/arch/arm64/boot/dts/rockchip/Makefile
|
||||||
@@ -1,6 +1,7 @@
|
@@ -2,6 +2,7 @@
|
||||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-evb-act8846.dtb
|
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-evb-act8846.dtb
|
||||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox.dtb
|
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-geekbox.dtb
|
||||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-orion-r68-meta.dtb
|
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3368-orion-r68-meta.dtb
|
||||||
|
2
gitrev
2
gitrev
@ -1 +1 @@
|
|||||||
2868b2513aa732a99ea4a0a6bf10dc93c1f3dac2
|
56868a460b83c0f93d339256a81064d89aadae8e
|
||||||
|
@ -2245,6 +2245,7 @@ CONFIG_IMA_MEASURE_PCR_IDX=10
|
|||||||
# CONFIG_IMG_ASCII_LCD is not set
|
# CONFIG_IMG_ASCII_LCD is not set
|
||||||
CONFIG_IMX2_WDT=m
|
CONFIG_IMX2_WDT=m
|
||||||
CONFIG_IMX7D_ADC=m
|
CONFIG_IMX7D_ADC=m
|
||||||
|
CONFIG_IMX7_PM_DOMAINS=y
|
||||||
CONFIG_IMX_DMA=m
|
CONFIG_IMX_DMA=m
|
||||||
CONFIG_IMX_GPCV2=y
|
CONFIG_IMX_GPCV2=y
|
||||||
CONFIG_IMX_IPUV3_CORE=m
|
CONFIG_IMX_IPUV3_CORE=m
|
||||||
|
@ -2228,6 +2228,7 @@ CONFIG_IMA_MEASURE_PCR_IDX=10
|
|||||||
# CONFIG_IMG_ASCII_LCD is not set
|
# CONFIG_IMG_ASCII_LCD is not set
|
||||||
CONFIG_IMX2_WDT=m
|
CONFIG_IMX2_WDT=m
|
||||||
CONFIG_IMX7D_ADC=m
|
CONFIG_IMX7D_ADC=m
|
||||||
|
CONFIG_IMX7_PM_DOMAINS=y
|
||||||
CONFIG_IMX_DMA=m
|
CONFIG_IMX_DMA=m
|
||||||
CONFIG_IMX_GPCV2=y
|
CONFIG_IMX_GPCV2=y
|
||||||
CONFIG_IMX_IPUV3_CORE=m
|
CONFIG_IMX_IPUV3_CORE=m
|
||||||
|
10
kernel.spec
10
kernel.spec
@ -69,7 +69,7 @@ Summary: The Linux kernel
|
|||||||
# The rc snapshot level
|
# The rc snapshot level
|
||||||
%global rcrev 0
|
%global rcrev 0
|
||||||
# The git snapshot level
|
# The git snapshot level
|
||||||
%define gitrev 6
|
%define gitrev 7
|
||||||
# Set rpm version accordingly
|
# Set rpm version accordingly
|
||||||
%define rpmversion 4.%{upstream_sublevel}.0
|
%define rpmversion 4.%{upstream_sublevel}.0
|
||||||
%endif
|
%endif
|
||||||
@ -525,7 +525,6 @@ Patch424: arm64-mm-Fix-memmap-to-be-initialized-for-the-entire-section.patch
|
|||||||
# http://patchwork.ozlabs.org/patch/587554/
|
# http://patchwork.ozlabs.org/patch/587554/
|
||||||
Patch425: ARM-tegra-usb-no-reset.patch
|
Patch425: ARM-tegra-usb-no-reset.patch
|
||||||
|
|
||||||
Patch426: AllWinner-h3.patch
|
|
||||||
Patch427: AllWinner-net-emac.patch
|
Patch427: AllWinner-net-emac.patch
|
||||||
|
|
||||||
Patch429: arm64-hikey-fixes.patch
|
Patch429: arm64-hikey-fixes.patch
|
||||||
@ -533,16 +532,12 @@ Patch429: arm64-hikey-fixes.patch
|
|||||||
# http://www.spinics.net/lists/devicetree/msg163238.html
|
# http://www.spinics.net/lists/devicetree/msg163238.html
|
||||||
Patch430: bcm2837-initial-support.patch
|
Patch430: bcm2837-initial-support.patch
|
||||||
|
|
||||||
Patch431: arm-rk3288-tinker.patch
|
|
||||||
|
|
||||||
# http://www.spinics.net/lists/dri-devel/msg132235.html
|
# http://www.spinics.net/lists/dri-devel/msg132235.html
|
||||||
Patch433: drm-vc4-Fix-OOPSes-from-trying-to-cache-a-partially-constructed-BO..patch
|
Patch433: drm-vc4-Fix-OOPSes-from-trying-to-cache-a-partially-constructed-BO..patch
|
||||||
|
|
||||||
# Upstream fixes for i2c/serial/ethernet MAC addresses
|
# Upstream fixes for i2c/serial/ethernet MAC addresses
|
||||||
Patch435: bcm283x-fixes.patch
|
Patch435: bcm283x-fixes.patch
|
||||||
|
|
||||||
Patch437: bcm283x-hdmi-audio.patch
|
|
||||||
|
|
||||||
# https://www.spinics.net/lists/arm-kernel/msg554183.html
|
# https://www.spinics.net/lists/arm-kernel/msg554183.html
|
||||||
Patch438: arm-imx6-hummingboard2.patch
|
Patch438: arm-imx6-hummingboard2.patch
|
||||||
|
|
||||||
@ -2175,6 +2170,9 @@ fi
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 10 2017 Justin M. Forbes <jforbes@fedoraproject.org> - 4.12.0-0.rc0.git7.1
|
||||||
|
- Linux v4.11-12441-g56868a4
|
||||||
|
|
||||||
* Tue May 09 2017 Justin M. Forbes <jforbes@fedoraproject.org> - 4.12.0-0.rc0.git6.1
|
* Tue May 09 2017 Justin M. Forbes <jforbes@fedoraproject.org> - 4.12.0-0.rc0.git6.1
|
||||||
- Linux v4.11-11413-g2868b25
|
- Linux v4.11-11413-g2868b25
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1,3 +1,3 @@
|
|||||||
SHA512 (perf-man-4.11.tar.gz) = f6dec8c3a296fc5bb1dd58011d7d1340550b9f4f228169bab079b0b36f2d5d96784b808765acda2d547719f6e9fd73b2855ab825dfe4fea8af43c55e5786f8d6
|
SHA512 (perf-man-4.11.tar.gz) = f6dec8c3a296fc5bb1dd58011d7d1340550b9f4f228169bab079b0b36f2d5d96784b808765acda2d547719f6e9fd73b2855ab825dfe4fea8af43c55e5786f8d6
|
||||||
SHA512 (linux-4.11.tar.xz) = 6610eed97ffb7207c71771198c36179b8244ace7222bebb109507720e26c5f17d918079a56d5febdd8605844d67fb2df0ebe910fa2f2f53690daf6e2a8ad09c3
|
SHA512 (linux-4.11.tar.xz) = 6610eed97ffb7207c71771198c36179b8244ace7222bebb109507720e26c5f17d918079a56d5febdd8605844d67fb2df0ebe910fa2f2f53690daf6e2a8ad09c3
|
||||||
SHA512 (patch-4.11-git6.xz) = 1993c0fb4a8ab1f21bfe79193a674356ee42c49e758e73f5cff9dee52c0ffd44e08227c1f10b40114ecb30d1de6cb6fe64bfdf2bcf92cf679350257dd53aa184
|
SHA512 (patch-4.11-git7.xz) = 735f8f58a60f04e7be122c75cf9e9f37422b7ca734ad671a56db759d849431be2e59d827e458aa97f4d13d31acf4ba3c3f127ba94f59b1677eea791e3115155a
|
||||||
|
Loading…
Reference in New Issue
Block a user