HI,all
I removed the power supply chip INA3221 and replaced the I2C chip TCA6424 with the TCA9539 in my custom base/carrier board. Then modified the device tree.
- Modify the code in tegra186-quill-power-tree-p3310-1000-a00-00.dtsi Https://devtalk.nvidia.com/default/topic/1024105/jetson-tx2/tx2-usb2-0-not-working-how-to-fix-it/post/5210056/#5210056
- Modify the code in hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-cvb-prod-p2597-b00-p3310-1000-a00-00.dtsi
- Re-compile the device tree
- Re-flash TX2
{
i2c@3160000 {
ina3221x@42 {
compatible = "ti,ina3221x";
<b>status = "disabled"; /* add */</b>
...
};
ina3221x@43 {
compatible = "ti,ina3221x";
<b>status = "disabled"; /* add */</b>
...
};
gpio_i2c_0_<b>22</b>: gpio@<b>22</b> { /* modify: 74->22 */
compatible = "ti,<b>tca6424</b>"; /* modify: tca9539->tca64242 */
reg = <0x<b>22</b>>;
gpio-controller;
#gpio-cells = <2>;
vcc-supply = <&battery_reg>;
};
gpio@<b>22</b> {
...
};
gpio_i2c_0_77: gpio@77 {
compatible = "ti,tca9539";
<b>status = "disabled"; /* add */</b>
reg = <0x77>;
gpio-controller;
#gpio-cells = <2>;
vcc-supply = <&battery_reg>;
};
...
};
...
};
cd kernel/kernel-4.9
make dtbs
sudo ./flash.sh jetson-tx2 mmcblk0p1
But after starting TX2, usb will not work.
What should I do?