All skills
nvidia avatar

/jetson-customize-usb

@87053a0
by NVIDIA Corporationnvidia/skills3.5k stars
424

Enable/disable Jetson USB2/USB3 SS ports via kernel-DT overlay. Do NOT use for UPHY lane allocation or ODMDATA edits.

Use this Skill: https://skilld.dev/gh/nvidia/skills/jetson-customize-usb

This session only. Nothing lands on disk.

referencesusb-dt-bindings.md

≈456 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Tegra USB DT bindings used by /jetson-modify-usb

The overlay produced by modify-usb apply targets three nodes by phandle. The skill never declares the parent node — it only patches per-port mode and synthesises the missing bits.

&xusb_padctl

&xusb_padctl {
    status = "okay";
    pads {
        usb2-N { mode = "host" | "device" | "otg"; };
        usb3-N { nvidia,usb2-companion = <N>; maximum-speed = "..."; };
    };
    ports {
        ... same shape, role-only ...
    };
};

maximum-speed accepts "usb2", "usb3.0", "usb3.1", "usb3.2". On Thor (T264), "usb3.2" engages Gen2x2 — requires a paired UPHY lane assignment in MB2 BCT misc.

&xusb (host xHCI)

&xusb {
    status = "okay";
    usb2-N {
        mode = "host";
        vbus-supply = <&vbus_usb2_N_reg>;   /* synthesised by /jetson-modify-usb */
        nvidia,oc-pin = <N>;
    };
    usb3-N {
        mode = "host";
        vbus-supply = <&vbus_usb3_N_reg>;
    };
};

The synthesised regulator is a regulator-fixed with gpio = <... ACTIVE_HIGH> driving the VBUS_EN pad. The skill emits these into fragment@0 at the root.

&xudc (device gadget)

Only emitted when at least one port has mode = "device" or "otg":

&xudc {
    status = "okay";
    phys = <&tegra264_usb2_0>;
    phy-names = "usb2-0";
    usb2-0 { mode = "device"; };
};

Properties NOT touched by the skill

The skill explicitly does not set any of:

  • nvidia,xusb-padctl-pinctrl-default (managed by mb1 pinmux)
  • nvidia,boost_cpu_freq / bandwidth-tuning props (devkit defaults)
  • PHY calibration tables (SoC-internal)

If the user needs to override any of these, edit the overlay by hand after commit (or before, in <KB>/staged/) — the skill is idempotent and only rewrites the props it owns.

Source: SKILL.md on GitHub

1 warning3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill provides specialized functionality for configuring USB ports on NVIDIA Jetson platforms (Thor and Orin) by generating and applying Device Tree overlays. It follows standard Board Support Package (BSP) development workflows, utilizes signed signatures for integrity, and includes robust verification steps to ensure hardware safety.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 87053a0. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
version
0.0.1
Other metadata
metadata
{
  "data-classification": "public",
  "author": "Jetson Team",
  "tags": [
    "bsp",
    "phase-2",
    "io",
    "usb"
  ],
  "domain": "meta"
}

README badge

README badge for nvidia/skills/jetson-customize-usb