mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 22:06:39 +07:00
devicetree: Add TI-NSPIRE USB OTG support to device tree
Signed-off-by: Daniel Tang <dt.tangr@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
8f4edb9efd
commit
66c9270b68
@ -51,6 +51,11 @@ &ahb_clk {
|
||||
compatible = "lsi,nspire-classic-ahb-divider";
|
||||
};
|
||||
|
||||
|
||||
&vbus_reg {
|
||||
gpio = <&gpio 5 0>;
|
||||
};
|
||||
|
||||
/ {
|
||||
memory {
|
||||
device_type = "memory";
|
||||
|
@ -69,6 +69,10 @@ &keypad {
|
||||
0x0709001d 0x070a0033 >;
|
||||
};
|
||||
|
||||
&vbus_reg {
|
||||
gpio = <&gpio 2 0>;
|
||||
};
|
||||
|
||||
/ {
|
||||
model = "TI-NSPIRE CX";
|
||||
compatible = "ti,nspire-cx";
|
||||
|
@ -54,6 +54,20 @@ apb_pclk: apb_pclk {
|
||||
clocks = <&ahb_clk>;
|
||||
};
|
||||
|
||||
usb_phy: usb_phy {
|
||||
compatible = "usb-nop-xceiv";
|
||||
};
|
||||
|
||||
vbus_reg: vbus_reg {
|
||||
compatible = "regulator-fixed";
|
||||
|
||||
regulator-name = "USB VBUS output";
|
||||
regulator-type = "voltage";
|
||||
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
};
|
||||
|
||||
ahb {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
@ -65,8 +79,12 @@ spi: spi@A9000000 {
|
||||
};
|
||||
|
||||
usb0: usb@B0000000 {
|
||||
compatible = "lsi,zevio-usb";
|
||||
reg = <0xB0000000 0x1000>;
|
||||
interrupts = <8>;
|
||||
|
||||
usb-phy = <&usb_phy>;
|
||||
vbus-supply = <&vbus_reg>;
|
||||
};
|
||||
|
||||
usb1: usb@B4000000 {
|
||||
@ -105,8 +123,11 @@ apb@90000000 {
|
||||
ranges;
|
||||
|
||||
gpio: gpio@90000000 {
|
||||
compatible = "lsi,zevio-gpio";
|
||||
reg = <0x90000000 0x1000>;
|
||||
interrupts = <7>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
fast_timer: timer@90010000 {
|
||||
|
Loading…
Reference in New Issue
Block a user