Changed minor bits in xt-q8l-v10 device tree patch for dev flavour

This commit is contained in:
paolo 2018-12-06 21:58:01 +00:00
parent a37a9cf9bd
commit a818f64885
4 changed files with 38 additions and 23 deletions

View file

@ -1,4 +1,4 @@
--- /dev/null 2018-11-29 17:19:47.960000000 +0000 --- /dev/null 2018-12-06 21:33:05.512000000 +0000
+++ b/arch/arm/boot/dts/rk3288-xt-q8l-v10.dts 2018-09-23 13:07:34.000000000 +0000 +++ b/arch/arm/boot/dts/rk3288-xt-q8l-v10.dts 2018-09-23 13:07:34.000000000 +0000
@@ -0,0 +1,1120 @@ @@ -0,0 +1,1120 @@
+/* +/*

View file

@ -1,6 +1,6 @@
--- /dev/null 2018-11-29 17:19:47.960000000 +0000 --- /dev/null 2018-12-06 21:33:05.512000000 +0000
+++ b/arch/arm/boot/dts/rk3288-xt-q8l-v10.dts 2018-11-29 21:12:34.069256135 +0000 +++ b/arch/arm/boot/dts/rk3288-xt-q8l-v10.dts 2018-12-06 21:46:51.493688015 +0000
@@ -0,0 +1,951 @@ @@ -0,0 +1,966 @@
+/* +/*
+ * Copyright (c) 2014, 2015 FUKAUMI Naoki <naobsd@gmail.com> + * Copyright (c) 2014, 2015 FUKAUMI Naoki <naobsd@gmail.com>
+ * 2018 Paolo Sabatino <paolo.sabatino@gm**l.com> + * 2018 Paolo Sabatino <paolo.sabatino@gm**l.com>
@ -313,6 +313,21 @@
+ /delete-node/operating-points; + /delete-node/operating-points;
+}; +};
+ +
+&cpu1 {
+ operating-points-v2 = <&cpu0_opp_table>;
+ /delete-node/operating-points;
+};
+
+&cpu2 {
+ operating-points-v2 = <&cpu0_opp_table>;
+ /delete-node/operating-points;
+};
+
+&cpu3 {
+ operating-points-v2 = <&cpu0_opp_table>;
+ /delete-node/operating-points;
+};
+
+&gmac { +&gmac {
+ assigned-clocks = <&cru SCLK_MAC>; + assigned-clocks = <&cru SCLK_MAC>;
+ assigned-clock-parents = <&ext_gmac>; + assigned-clock-parents = <&ext_gmac>;
@ -331,7 +346,6 @@
+ +
+&hdmi { +&hdmi {
+ ddc-i2c-bus = <&i2c5>; + ddc-i2c-bus = <&i2c5>;
+ #sound-dai-cells = <0>;
+ status = "okay"; + status = "okay";
+}; +};
+ +
@ -395,6 +409,7 @@
+ inl1-supply = <&vcc_sys>; + inl1-supply = <&vcc_sys>;
+ inl2-supply = <&vcc_sys>; + inl2-supply = <&vcc_sys>;
+ inl3-supply = <&vcc_20>; + inl3-supply = <&vcc_20>;
+ wakeup-source;
+ +
+ regulators { + regulators {
+ +
@ -549,6 +564,7 @@
+ * Here should go the RK1000 audio codec parts, but seems that + * Here should go the RK1000 audio codec parts, but seems that
+ * there is no driver in linux kernel at the moment, so we can't + * there is no driver in linux kernel at the moment, so we can't
+ * describe it. + * describe it.
+ * Also, most important, there is no RK1000 on our board :)
+ * Datasheet is available here: + * Datasheet is available here:
+ * http://dl.radxa.com/rock/docs/hw/ds/RK1000-S%20DATASHEET%20V14.pdf + * http://dl.radxa.com/rock/docs/hw/ds/RK1000-S%20DATASHEET%20V14.pdf
+ */ + */
@ -838,7 +854,6 @@
+ dmas = <&dmac_peri 1 &dmac_peri 2>; + dmas = <&dmac_peri 1 &dmac_peri 2>;
+ dma-names = "tx", "rx"; + dma-names = "tx", "rx";
+ status = "okay"; + status = "okay";
+// uart-has-rtscts;
+}; +};
+ +
+&uart1 { +&uart1 {
@ -866,6 +881,7 @@
+}; +};
+ +
+/* +/*
+ * Here usbphy* should have their proper reset lines described in rk3288.dtsi
+ * Describing resets for usb phy is important because otherwise the USB + * Describing resets for usb phy is important because otherwise the USB
+ * port gets stuck in case it goes into autosuspend: plugging any device + * port gets stuck in case it goes into autosuspend: plugging any device
+ * when the port is autosuspended will actually kill the port itself and + * when the port is autosuspended will actually kill the port itself and
@ -874,6 +890,7 @@
+ * specify the proper resources for all the phys though. + * specify the proper resources for all the phys though.
+ * The reference patch which works in conjuction with the reset lines: + * The reference patch which works in conjuction with the reset lines:
+ * https://patchwork.kernel.org/patch/9469811/ + * https://patchwork.kernel.org/patch/9469811/
+ *
+ */ + */
+&usbphy { +&usbphy {
+ status = "okay"; + status = "okay";
@ -902,30 +919,20 @@
+}; +};
+ +
+/* +/*
+ * Enalbe VPU services and complete the relative IOMMU configurations + * Enable VPU services and complete the relative IOMMU configurations
+ * including the clocks which are currently missing (kernel 4.17.2) from
+ * the current base definitions from rk3288.dtsi include file
+ */ + */
+&vopb { +&vopb {
+ status = "okay"; + status = "okay";
+}; +};
+ +
+&vopl {
+ status = "okay";
+};
+
+&vpu_service {
+ status = "okay";
+};
+
+&hevc_service {
+ status = "okay";
+};
+
+&vopb_mmu { +&vopb_mmu {
+ status = "okay"; + status = "okay";
+}; +};
+ +
+&vopl {
+ status = "okay";
+};
+
+&vopl_mmu { +&vopl_mmu {
+ status = "okay"; + status = "okay";
+}; +};
@ -934,10 +941,18 @@
+ status = "okay"; + status = "okay";
+}; +};
+ +
+&vpu_service {
+ status = "okay";
+};
+
+&hevc_mmu { +&hevc_mmu {
+ status = "okay"; + status = "okay";
+}; +};
+ +
+&hevc_service {
+ status = "okay";
+};
+
+&wdt { +&wdt {
+ status = "okay"; + status = "okay";
+}; +};

View file

@ -1,4 +1,4 @@
--- /dev/null 2018-11-29 17:19:47.960000000 +0000 --- /dev/null 2018-12-06 21:33:05.512000000 +0000
+++ b/arch/arm/boot/dts/rk3288-xt-q8l-v10.dts 2018-11-29 21:02:56.636665164 +0000 +++ b/arch/arm/boot/dts/rk3288-xt-q8l-v10.dts 2018-11-29 21:02:56.636665164 +0000
@@ -0,0 +1,951 @@ @@ -0,0 +1,951 @@
+/* +/*

View file

@ -1,4 +1,4 @@
--- /dev/null 2018-11-29 17:19:47.960000000 +0000 --- /dev/null 2018-12-06 21:33:05.512000000 +0000
+++ b/arch/arm/dts/rk3288-xt-q8l-v10.dts 2018-09-23 12:59:27.000000000 +0000 +++ b/arch/arm/dts/rk3288-xt-q8l-v10.dts 2018-09-23 12:59:27.000000000 +0000
@@ -0,0 +1,740 @@ @@ -0,0 +1,740 @@
+/* +/*