mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 19:05:23 +07:00
6ddf6c91e6
For the ti-cpufreq driver we need a clear separation between omap34 and omap36 families since they have different silicon revisions and efuses. So far ti,omap3630/ti,omap36xx is just an additional flag to ti,omap3 while omap34 has no required entry. Therefore we can not match omap34 boards properly. This needs to add ti,omap3430 and ti,omap3630 where it is missing. We also clean up some instances of missing ti,am3517 so that we can rely on seeing either one of: ti,am3517 ti,omap3430 ti,omap3630 in addition to ti,omap3. We leave ti,omap34xx and ti,omap36xx untouched for compatibility. The script to do the conversion is: manually fix am3517_mt_ventoux.dts find arch/arm/boot/dts -name '*.dts*' -exec fgrep -q '"ti,omap34xx"' {} \; ! -exec fgrep -q '"ti,omap3430"' {} \; -exec sed -i '' 's/"ti,omap34xx"/"ti,omap3430", "ti,omap34xx"/' {} \; find arch/arm/boot/dts -name '*.dts*' -exec fgrep -q '"ti,omap36xx"' {} \; ! -exec fgrep -q '"ti,omap3630"' {} \; -exec sed -i '' 's/"ti,omap36xx"/"ti,omap3630", "ti,omap36xx"/' {} \; find arch/arm/boot/dts \( -name 'omap*.dts*' -o -name 'logic*.dts*' \) -exec fgrep -q '"ti,omap3"' {} \; ! -exec fgrep -q '"ti,omap3630"' {} \; ! -exec fgrep -q '"ti,omap36xx"' {} \; ! -exec fgrep -q '"ti,am3517"' {} \; ! -exec fgrep -q '"ti,omap34xx"' {} \; ! -exec fgrep -q '"ti,omap3430"' {} \; -exec sed -i '' 's/"ti,omap3"/"ti,omap3430", "ti,omap3"/' {} \; So if your out-of-tree omap3 board does not show any OPPs, please check the compatibility entry and update if needed. Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Acked-by: Tony Lindgren <tony@atomide.com> Tested-by: Adam Ford <aford173@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
86 lines
1.6 KiB
Plaintext
86 lines
1.6 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* omap3-n9.dts - Device Tree file for Nokia N9
|
|
*
|
|
* Written by: Aaro Koskinen <aaro.koskinen@iki.fi>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "omap3-n950-n9.dtsi"
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
/ {
|
|
model = "Nokia N9";
|
|
compatible = "nokia,omap3-n9", "ti,omap3630", "ti,omap36xx", "ti,omap3";
|
|
};
|
|
|
|
&i2c2 {
|
|
smia_1: camera@10 {
|
|
compatible = "nokia,smia";
|
|
reg = <0x10>;
|
|
/* No reset gpio */
|
|
vana-supply = <&vaux3>;
|
|
clocks = <&isp 0>;
|
|
clock-frequency = <9600000>;
|
|
nokia,nvm-size = <(16 * 64)>;
|
|
flash-leds = <&as3645a_flash &as3645a_indicator>;
|
|
port {
|
|
smia_1_1: endpoint {
|
|
link-frequencies = /bits/ 64 <199200000 210000000 499200000>;
|
|
clock-lanes = <0>;
|
|
data-lanes = <1 2>;
|
|
remote-endpoint = <&csi2a_ep>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c3 {
|
|
ak8975@f {
|
|
compatible = "asahi-kasei,ak8975";
|
|
reg = <0x0f>;
|
|
};
|
|
};
|
|
|
|
&isp {
|
|
vdd-csiphy1-supply = <&vaux2>;
|
|
vdd-csiphy2-supply = <&vaux2>;
|
|
ports {
|
|
port@2 {
|
|
reg = <2>;
|
|
csi2a_ep: endpoint {
|
|
remote-endpoint = <&smia_1_1>;
|
|
clock-lanes = <2>;
|
|
data-lanes = <1 3>;
|
|
crc = <1>;
|
|
lane-polarities = <1 1 1>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&modem {
|
|
compatible = "nokia,n9-modem";
|
|
};
|
|
|
|
&lis302 {
|
|
st,axis-x = <1>; /* LIS3_DEV_X */
|
|
st,axis-y = <(-2)>; /* LIS3_INV_DEV_Y */
|
|
st,axis-z = <(-3)>; /* LIS3_INV_DEV_Z */
|
|
|
|
st,min-limit-x = <(-46)>;
|
|
st,min-limit-y = <3>;
|
|
st,min-limit-z = <3>;
|
|
|
|
st,max-limit-x = <(-3)>;
|
|
st,max-limit-y = <46>;
|
|
st,max-limit-z = <46>;
|
|
};
|
|
|
|
&twl_keypad {
|
|
linux,keymap = < MATRIX_KEY(6, 8, KEY_VOLUMEUP)
|
|
MATRIX_KEY(7, 8, KEY_VOLUMEDOWN)
|
|
>;
|
|
};
|