forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/gemini.dtsi
....@@ -357,7 +357,7 @@
357357 };
358358 };
359359
360
- ata@63000000 {
360
+ ide@63000000 {
361361 compatible = "cortina,gemini-pata", "faraday,ftide010";
362362 reg = <0x63000000 0x1000>;
363363 interrupts = <4 IRQ_TYPE_EDGE_RISING>;
....@@ -366,9 +366,11 @@
366366 clock-names = "PCLK";
367367 sata = <&sata>;
368368 status = "disabled";
369
+ #address-cells = <1>;
370
+ #size-cells = <0>;
369371 };
370372
371
- ata@63400000 {
373
+ ide@63400000 {
372374 compatible = "cortina,gemini-pata", "faraday,ftide010";
373375 reg = <0x63400000 0x1000>;
374376 interrupts = <5 IRQ_TYPE_EDGE_RISING>;
....@@ -377,6 +379,8 @@
377379 clock-names = "PCLK";
378380 sata = <&sata>;
379381 status = "disabled";
382
+ #address-cells = <1>;
383
+ #size-cells = <0>;
380384 };
381385
382386 dma-controller@67000000 {
....@@ -410,5 +414,37 @@
410414 #size-cells = <0>;
411415 status = "disabled";
412416 };
417
+
418
+ usb@68000000 {
419
+ compatible = "cortina,gemini-usb", "faraday,fotg210";
420
+ reg = <0x68000000 0x1000>;
421
+ interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
422
+ resets = <&syscon GEMINI_RESET_USB0>;
423
+ clocks = <&syscon GEMINI_CLK_GATE_USB0>;
424
+ clock-names = "PCLK";
425
+ /*
426
+ * This will claim pins for USB0 and USB1 at the same
427
+ * time as they are using some common pins. If you for
428
+ * some reason have a system using USB1 at 96000000 but
429
+ * NOT using USB0 at 68000000 you wll have to add the
430
+ * usb_default_pins to the USB controller at 96000000
431
+ * in your .dts for the board.
432
+ */
433
+ pinctrl-names = "default";
434
+ pinctrl-0 = <&usb_default_pins>;
435
+ syscon = <&syscon>;
436
+ status = "disabled";
437
+ };
438
+
439
+ usb@69000000 {
440
+ compatible = "cortina,gemini-usb", "faraday,fotg210";
441
+ reg = <0x69000000 0x1000>;
442
+ interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
443
+ resets = <&syscon GEMINI_RESET_USB1>;
444
+ clocks = <&syscon GEMINI_CLK_GATE_USB1>;
445
+ clock-names = "PCLK";
446
+ syscon = <&syscon>;
447
+ status = "disabled";
448
+ };
413449 };
414450 };