Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'omap-for-v5.5/dt-late-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/dt

Few late dts changes for omaps for v5.5 merge window

Let's configure omap3 rng as we can now easily do it with a dts change
only by tagging it with status = "disabled" for n900 where it's not
accessible. This improves the boot-up time with distros quite a bit with
proper entropy source around.

There's also another minor update for logicpd-torpedo that does not have
USB host pins wired.

* tag 'omap-for-v5.5/dt-late-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: dts: logicpd-torpedo: Disable USB Host
ARM: dts: Configure omap3 rng

Link: https://lore.kernel.org/r/pull-1573579927-542764@atomide.com
Signed-off-by: Olof Johansson <olof@lixom.net>

+42 -1
+6
arch/arm/boot/dts/am3517.dtsi
··· 115 115 }; 116 116 }; 117 117 118 + /* Not currently working, probably needs at least different clocks */ 119 + &rng_target { 120 + status = "disabled"; 121 + /delete-property/ clocks; 122 + }; 123 + 118 124 /* Table Table 5-79 of the TRM shows 480ab000 is reserved */ 119 125 &usb_otg_hs { 120 126 status = "disabled";
+5
arch/arm/boot/dts/logicpd-torpedo-som.dtsi
··· 35 35 }; 36 36 }; 37 37 38 + /* The Torpedo doesn't route the USB host pins */ 39 + &usbhshost { 40 + status = "disabled"; 41 + }; 42 + 38 43 &gpmc { 39 44 ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */ 40 45
+5
arch/arm/boot/dts/omap3-n900.dts
··· 1013 1013 }; 1014 1014 }; 1015 1015 1016 + /* RNG not directly accessible on n900, see omap3-rom-rng instead */ 1017 + &rng_target { 1018 + status = "disabled"; 1019 + }; 1020 + 1016 1021 &usb_otg_hs { 1017 1022 interface-type = <0>; 1018 1023 usb-phy = <&usb2_phy>;
+25
arch/arm/boot/dts/omap3.dtsi
··· 8 8 * kind, whether express or implied. 9 9 */ 10 10 11 + #include <dt-bindings/bus/ti-sysc.h> 11 12 #include <dt-bindings/gpio/gpio.h> 12 13 #include <dt-bindings/interrupt-controller/irq.h> 13 14 #include <dt-bindings/pinctrl/omap.h> ··· 501 500 clocks = <&mcbsp1_fck>; 502 501 clock-names = "fck"; 503 502 status = "disabled"; 503 + }; 504 + 505 + /* Likely needs to be tagged disabled on HS devices */ 506 + rng_target: target-module@480a0000 { 507 + compatible = "ti,sysc-omap2", "ti,sysc"; 508 + reg = <0x480a003c 0x4>, 509 + <0x480a0040 0x4>, 510 + <0x480a0044 0x4>; 511 + reg-names = "rev", "sysc", "syss"; 512 + ti,sysc-mask = <(SYSC_OMAP2_AUTOIDLE)>; 513 + ti,sysc-sidle = <SYSC_IDLE_FORCE>, 514 + <SYSC_IDLE_NO>; 515 + ti,syss-mask = <1>; 516 + clocks = <&rng_ick>; 517 + clock-names = "ick"; 518 + #address-cells = <1>; 519 + #size-cells = <1>; 520 + ranges = <0 0x480a0000 0x2000>; 521 + 522 + rng: rng@0 { 523 + compatible = "ti,omap2-rng"; 524 + reg = <0x0 0x2000>; 525 + interrupts = <52>; 526 + }; 504 527 }; 505 528 506 529 mcbsp2: mcbsp@49022000 {
+1 -1
arch/arm/boot/dts/omap34xx-omap36xx-clocks.dtsi
··· 260 260 <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>, 261 261 <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>, <&icr_ick>, 262 262 <&des2_ick>, <&mspro_ick>, <&mailboxes_ick>, 263 - <&mspro_fck>; 263 + <&rng_ick>, <&mspro_fck>; 264 264 }; 265 265 };