]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/dts/rk3399.dtsi
arm: dts: imx6ul-isiot: Add I2C nodes
[u-boot] / arch / arm / dts / rk3399.dtsi
index 6d820787ed768644a412c66010c18e465a420717..22277ff0ad7b42de3fe5b90f7c1ed5286159a237 100644 (file)
@@ -9,6 +9,7 @@
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/pinctrl/rockchip.h>
+#define USB_CLASS_HUB                  9
 
 / {
        compatible = "rockchip,rk3399";
                interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
                assigned-clocks = <&cru SCLK_EMMC>;
                assigned-clock-rates = <200000000>;
+               max-frequency = <200000000>;
                clocks = <&cru SCLK_EMMC>, <&cru ACLK_EMMC>;
                clock-names = "clk_xin", "clk_ahb";
                phys = <&emmc_phy>;
                status = "disabled";
        };
 
+       dwc3_typec0: usb@fe800000 {
+               compatible = "rockchip,rk3399-xhci";
+               reg = <0x0 0xfe800000 0x0 0x100000>;
+               status = "disabled";
+               rockchip,vbus-gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>;
+               snps,dis-enblslpm-quirk;
+               snps,phyif-utmi-bits = <16>;
+               snps,dis-u2-freeclk-exists-quirk;
+               snps,dis-u2-susphy-quirk;
+
+               #address-cells = <2>;
+               #size-cells = <2>;
+               hub {
+                       compatible = "usb-hub";
+                       usb,device-class = <USB_CLASS_HUB>;
+               };
+               typec_phy0 {
+                       compatible = "rockchip,rk3399-usb3-phy";
+                       reg = <0x0 0xff7c0000 0x0 0x40000>;
+               };
+       };
+
+       dwc3_typec1: usb@fe900000 {
+               compatible = "rockchip,rk3399-xhci";
+               reg = <0x0 0xfe900000 0x0 0x100000>;
+               status = "disabled";
+               rockchip,vbus-gpio = <&gpio1 4 GPIO_ACTIVE_HIGH>;
+               snps,dis-enblslpm-quirk;
+               snps,phyif-utmi-bits = <16>;
+               snps,dis-u2-freeclk-exists-quirk;
+               snps,dis-u2-susphy-quirk;
+
+               #address-cells = <2>;
+               #size-cells = <2>;
+               hub {
+                       compatible = "usb-hub";
+                       usb,device-class = <USB_CLASS_HUB>;
+               };
+               typec_phy1 {
+                       compatible = "rockchip,rk3399-usb3-phy";
+                       reg = <0x0 0xff800000 0x0 0x40000>;
+               };
+       };
+
        gic: interrupt-controller@fee00000 {
                compatible = "arm,gic-v3";
                #interrupt-cells = <3>;