Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
50 lines
1.0 KiB
Devicetree
50 lines
1.0 KiB
Devicetree
/*
|
|
* 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 "dm814x-clocks.dtsi"
|
|
|
|
/* Compared to dm814x, dra62x does not have hdic, l3 or dss PLLs */
|
|
&adpll_hdvic_ck {
|
|
status = "disabled";
|
|
};
|
|
|
|
&adpll_l3_ck {
|
|
status = "disabled";
|
|
};
|
|
|
|
&adpll_dss_ck {
|
|
status = "disabled";
|
|
};
|
|
|
|
/* Compared to dm814x, dra62x has interconnect clocks on isp PLL */
|
|
&sysclk4_ck {
|
|
clocks = <&adpll_isp_ck 1>;
|
|
};
|
|
|
|
&sysclk5_ck {
|
|
clocks = <&adpll_isp_ck 1>;
|
|
};
|
|
|
|
&sysclk6_ck {
|
|
clocks = <&adpll_isp_ck 1>;
|
|
};
|
|
|
|
/*
|
|
* Compared to dm814x, dra62x has different shifts and more mux options.
|
|
* Please add the extra options for ysclk_14 and 16 if really needed.
|
|
*/
|
|
&timer1_fck {
|
|
clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck
|
|
&aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>;
|
|
ti,bit-shift = <4>;
|
|
};
|
|
|
|
&timer2_fck {
|
|
clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck
|
|
&aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>;
|
|
ti,bit-shift = <8>;
|
|
};
|