git: 558694f9702a - stable/12 - dts: Revert DTS for OMAP family In DTS import from Linux 5.5 the ti,hwmods were deprecated in favor of using ti-sysc interconnect target module to identify the IP blocks.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Nov 2022 06:29:44 UTC
The branch stable/12 has been updated by oh: URL: https://cgit.FreeBSD.org/src/commit/?id=558694f9702a72c86ba88f3813396467b032e1f3 commit 558694f9702a72c86ba88f3813396467b032e1f3 Author: Oskar Holmlund <oh@FreeBSD.org> AuthorDate: 2022-11-14 06:26:00 +0000 Commit: Oskar Holmlund <oh@FreeBSD.org> CommitDate: 2022-11-14 06:26:00 +0000 dts: Revert DTS for OMAP family In DTS import from Linux 5.5 the ti,hwmods were deprecated in favor of using ti-sysc interconnect target module to identify the IP blocks. Direct commit to stable/12, since stable/13 and later have an updated ti-sysc driver. Approved by: manu (mentor) Differential revision: https://reviews.freebsd.org/D26552 --- sys/gnu/dts/arm/am335x-baltos.dtsi | 12 + sys/gnu/dts/arm/am335x-bone-common.dtsi | 22 + sys/gnu/dts/arm/am335x-boneblack-common.dtsi | 5 - sys/gnu/dts/arm/am335x-boneblue.dts | 22 + sys/gnu/dts/arm/am335x-chiliboard.dts | 18 + sys/gnu/dts/arm/am335x-cm-t335.dts | 20 + sys/gnu/dts/arm/am335x-evm.dts | 65 +- sys/gnu/dts/arm/am335x-evmsk.dts | 63 +- sys/gnu/dts/arm/am335x-guardian.dts | 22 + sys/gnu/dts/arm/am335x-icev2.dts | 13 - sys/gnu/dts/arm/am335x-igep0033.dtsi | 25 + sys/gnu/dts/arm/am335x-lxm.dts | 22 + sys/gnu/dts/arm/am335x-moxa-uc-2100-common.dtsi | 17 + sys/gnu/dts/arm/am335x-moxa-uc-8100-me-t.dts | 22 + sys/gnu/dts/arm/am335x-netcan-plus-1xx.dts | 87 --- sys/gnu/dts/arm/am335x-netcom-plus-2xx.dts | 95 --- sys/gnu/dts/arm/am335x-netcom-plus-8xx.dts | 115 --- sys/gnu/dts/arm/am335x-osd3358-sm-red.dts | 22 + sys/gnu/dts/arm/am335x-pcm-953.dtsi | 25 + sys/gnu/dts/arm/am335x-pdu001.dts | 28 + sys/gnu/dts/arm/am335x-pepper.dts | 20 + sys/gnu/dts/arm/am335x-pocketbeagle.dts | 22 + sys/gnu/dts/arm/am335x-regor.dtsi | 21 + sys/gnu/dts/arm/am335x-sancloud-bbe.dts | 2 +- sys/gnu/dts/arm/am335x-shc.dts | 17 + sys/gnu/dts/arm/am335x-sl50.dts | 22 + sys/gnu/dts/arm/am335x-wega.dtsi | 26 + sys/gnu/dts/arm/am33xx-l4.dtsi | 43 +- sys/gnu/dts/arm/am33xx.dtsi | 193 ++--- sys/gnu/dts/arm/am3517.dtsi | 39 +- sys/gnu/dts/arm/am3517_mt_ventoux.dts | 2 +- sys/gnu/dts/arm/am3703.dtsi | 14 - sys/gnu/dts/arm/am3715.dtsi | 10 - sys/gnu/dts/arm/am4372.dtsi | 195 +----- sys/gnu/dts/arm/am437x-gp-evm.dts | 2 +- sys/gnu/dts/arm/am437x-idk-evm.dts | 4 +- sys/gnu/dts/arm/am437x-l4.dtsi | 52 ++ sys/gnu/dts/arm/am437x-sk-evm.dts | 27 +- sys/gnu/dts/arm/am43x-epos-evm.dts | 27 +- sys/gnu/dts/arm/am43xx-clocks.dtsi | 54 -- sys/gnu/dts/arm/am571x-idk.dts | 33 +- sys/gnu/dts/arm/am572x-idk-common.dtsi | 4 + sys/gnu/dts/arm/am572x-idk.dts | 5 - sys/gnu/dts/arm/am574x-idk.dts | 5 - sys/gnu/dts/arm/am57xx-beagle-x15-common.dtsi | 25 +- sys/gnu/dts/arm/am57xx-beagle-x15-revb1.dts | 2 +- sys/gnu/dts/arm/am57xx-beagle-x15-revc.dts | 2 +- sys/gnu/dts/arm/am57xx-idk-common.dtsi | 64 +- sys/gnu/dts/arm/dm3725.dtsi | 10 - sys/gnu/dts/arm/dra62x-j5eco-evm.dts | 4 +- sys/gnu/dts/arm/dra7-evm-common.dtsi | 2 +- sys/gnu/dts/arm/dra7-evm.dts | 4 +- sys/gnu/dts/arm/dra7-l4.dtsi | 200 ++---- sys/gnu/dts/arm/dra7.dtsi | 330 ++------- sys/gnu/dts/arm/dra72-evm-common.dtsi | 33 +- sys/gnu/dts/arm/dra72x.dtsi | 42 -- sys/gnu/dts/arm/dra74x.dtsi | 71 +- sys/gnu/dts/arm/dra76-evm.dts | 101 --- sys/gnu/dts/arm/dra76x.dtsi | 47 -- sys/gnu/dts/arm/dra7xx-clocks.dtsi | 58 +- sys/gnu/dts/arm/omap2.dtsi | 43 +- sys/gnu/dts/arm/omap2430.dtsi | 4 - sys/gnu/dts/arm/omap3-beagle-xm.dts | 2 +- sys/gnu/dts/arm/omap3-beagle.dts | 2 +- sys/gnu/dts/arm/omap3-cm-t3530.dts | 2 +- sys/gnu/dts/arm/omap3-cm-t3730.dts | 2 +- sys/gnu/dts/arm/omap3-devkit8000-lcd43.dts | 2 +- sys/gnu/dts/arm/omap3-devkit8000-lcd70.dts | 2 +- sys/gnu/dts/arm/omap3-devkit8000.dts | 2 +- sys/gnu/dts/arm/omap3-echo.dts | 461 ------------ sys/gnu/dts/arm/omap3-gta04.dtsi | 2 +- sys/gnu/dts/arm/omap3-ha-lcd.dts | 2 +- sys/gnu/dts/arm/omap3-ha.dts | 2 +- sys/gnu/dts/arm/omap3-igep0020-rev-f.dts | 10 +- sys/gnu/dts/arm/omap3-igep0020.dts | 2 +- sys/gnu/dts/arm/omap3-igep0030-rev-g.dts | 10 +- sys/gnu/dts/arm/omap3-igep0030.dts | 2 +- sys/gnu/dts/arm/omap3-ldp.dts | 2 +- sys/gnu/dts/arm/omap3-lilly-a83x.dtsi | 2 +- sys/gnu/dts/arm/omap3-lilly-dbb056.dts | 2 +- sys/gnu/dts/arm/omap3-n9.dts | 2 +- sys/gnu/dts/arm/omap3-n900.dts | 60 +- sys/gnu/dts/arm/omap3-n950-n9.dtsi | 7 + sys/gnu/dts/arm/omap3-n950.dts | 2 +- sys/gnu/dts/arm/omap3-overo-storm-alto35.dts | 2 +- sys/gnu/dts/arm/omap3-overo-storm-chestnut43.dts | 2 +- sys/gnu/dts/arm/omap3-overo-storm-gallop43.dts | 2 +- sys/gnu/dts/arm/omap3-overo-storm-palo35.dts | 2 +- sys/gnu/dts/arm/omap3-overo-storm-palo43.dts | 2 +- sys/gnu/dts/arm/omap3-overo-storm-summit.dts | 2 +- sys/gnu/dts/arm/omap3-overo-storm-tobi.dts | 2 +- sys/gnu/dts/arm/omap3-overo-storm-tobiduo.dts | 2 +- sys/gnu/dts/arm/omap3-pandora-1ghz.dts | 2 +- sys/gnu/dts/arm/omap3-pandora-common.dtsi | 36 +- sys/gnu/dts/arm/omap3-sbc-t3530.dts | 2 +- sys/gnu/dts/arm/omap3-sbc-t3730.dts | 2 +- sys/gnu/dts/arm/omap3-sniper.dts | 2 +- sys/gnu/dts/arm/omap3-tao3530.dtsi | 2 +- sys/gnu/dts/arm/omap3-thunder.dts | 2 +- sys/gnu/dts/arm/omap3-zoom3.dts | 2 +- sys/gnu/dts/arm/omap3.dtsi | 71 +- sys/gnu/dts/arm/omap3430-sdp.dts | 2 +- sys/gnu/dts/arm/omap34xx-omap36xx-clocks.dtsi | 2 +- sys/gnu/dts/arm/omap34xx.dtsi | 66 +- sys/gnu/dts/arm/omap36xx-clocks.dtsi | 4 - sys/gnu/dts/arm/omap36xx.dtsi | 69 +- sys/gnu/dts/arm/omap3xxx-clocks.dtsi | 2 +- sys/gnu/dts/arm/omap4-droid-bionic-xt875.dts | 9 - sys/gnu/dts/arm/omap4-droid4-xt894.dts | 777 ++++++++++++++++++++- sys/gnu/dts/arm/omap4-l4-abe.dtsi | 11 + sys/gnu/dts/arm/omap4-l4.dtsi | 95 ++- sys/gnu/dts/arm/omap4.dtsi | 186 ++--- sys/gnu/dts/arm/omap44xx-clocks.dtsi | 11 +- sys/gnu/dts/arm/omap5-l4-abe.dtsi | 9 + sys/gnu/dts/arm/omap5-l4.dtsi | 74 +- sys/gnu/dts/arm/omap5.dtsi | 69 +- sys/gnu/dts/arm/omap54xx-clocks.dtsi | 10 +- sys/gnu/dts/include/dt-bindings/clock/dra7.h | 23 - sys/gnu/dts/include/dt-bindings/clock/omap4.h | 11 - sys/gnu/dts/include/dt-bindings/clock/omap5.h | 16 - .../dts/include/dt-bindings/clock/ti-dra7-atl.h | 40 -- 121 files changed, 1918 insertions(+), 2888 deletions(-) diff --git a/sys/gnu/dts/arm/am335x-baltos.dtsi b/sys/gnu/dts/arm/am335x-baltos.dtsi index 05e7b5d4a95b..ed235f263e29 100644 --- a/sys/gnu/dts/arm/am335x-baltos.dtsi +++ b/sys/gnu/dts/arm/am335x-baltos.dtsi @@ -258,6 +258,18 @@ }; }; +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&cppi41dma { + status = "okay"; +}; + #include "tps65910.dtsi" &tps { diff --git a/sys/gnu/dts/arm/am335x-bone-common.dtsi b/sys/gnu/dts/arm/am335x-bone-common.dtsi index 6c9187bc0f17..89b4cf2cb7f8 100644 --- a/sys/gnu/dts/arm/am335x-bone-common.dtsi +++ b/sys/gnu/dts/arm/am335x-bone-common.dtsi @@ -191,16 +191,38 @@ status = "okay"; }; +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&usb0_phy { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + &usb0 { + status = "okay"; dr_mode = "peripheral"; interrupts-extended = <&intc 18 &tps 0>; interrupt-names = "mc", "vbus"; }; &usb1 { + status = "okay"; dr_mode = "host"; }; +&cppi41dma { + status = "okay"; +}; + &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins>; diff --git a/sys/gnu/dts/arm/am335x-boneblack-common.dtsi b/sys/gnu/dts/arm/am335x-boneblack-common.dtsi index 91f93bc89716..7ad079861efd 100644 --- a/sys/gnu/dts/arm/am335x-boneblack-common.dtsi +++ b/sys/gnu/dts/arm/am335x-boneblack-common.dtsi @@ -131,11 +131,6 @@ }; / { - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x20000000>; /* 512 MB */ - }; - clk_mcasp0_fixed: clk_mcasp0_fixed { #clock-cells = <0>; compatible = "fixed-clock"; diff --git a/sys/gnu/dts/arm/am335x-boneblue.dts b/sys/gnu/dts/arm/am335x-boneblue.dts index 5811fb8d4fdf..2f6652ef9a15 100644 --- a/sys/gnu/dts/arm/am335x-boneblue.dts +++ b/sys/gnu/dts/arm/am335x-boneblue.dts @@ -278,16 +278,38 @@ status = "okay"; }; +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&usb0_phy { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + &usb0 { + status = "okay"; dr_mode = "peripheral"; interrupts-extended = <&intc 18 &tps 0>; interrupt-names = "mc", "vbus"; }; &usb1 { + status = "okay"; dr_mode = "host"; }; +&cppi41dma { + status = "okay"; +}; + &i2c0 { baseboard_eeprom: baseboard_eeprom@50 { compatible = "atmel,24c256"; diff --git a/sys/gnu/dts/arm/am335x-chiliboard.dts b/sys/gnu/dts/arm/am335x-chiliboard.dts index b14a2759c69b..8cd81dc0cc72 100644 --- a/sys/gnu/dts/arm/am335x-chiliboard.dts +++ b/sys/gnu/dts/arm/am335x-chiliboard.dts @@ -153,12 +153,30 @@ }; /* USB */ +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + &usb1 { pinctrl-names = "default"; pinctrl-0 = <&usb1_drvvbus>; + + status = "okay"; dr_mode = "host"; }; +&cppi41dma { + status = "okay"; +}; + /* microSD */ &mmc1 { pinctrl-names = "default"; diff --git a/sys/gnu/dts/arm/am335x-cm-t335.dts b/sys/gnu/dts/arm/am335x-cm-t335.dts index c6fe9db660e2..1fe3b566ba3d 100644 --- a/sys/gnu/dts/arm/am335x-cm-t335.dts +++ b/sys/gnu/dts/arm/am335x-cm-t335.dts @@ -330,6 +330,26 @@ status = "okay"; }; }; +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&usb0_phy { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + +&cppi41dma { + status = "okay"; +}; + &epwmss0 { status = "okay"; diff --git a/sys/gnu/dts/arm/am335x-evm.dts b/sys/gnu/dts/arm/am335x-evm.dts index 68252dab32c3..a00145705c9b 100644 --- a/sys/gnu/dts/arm/am335x-evm.dts +++ b/sys/gnu/dts/arm/am335x-evm.dts @@ -113,7 +113,7 @@ }; }; - backlight: backlight { + backlight { compatible = "pwm-backlight"; pwms = <&ecap0 0 50000 0>; brightness-levels = <0 51 53 56 62 75 101 152 255>; @@ -121,15 +121,35 @@ }; panel { - compatible = "tfc,s9700rtwv43tr-01b"; - + compatible = "ti,tilcdc,panel"; + status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&lcd_pins_s0>; - backlight = <&backlight>; + panel-info { + ac-bias = <255>; + ac-bias-intrpt = <0>; + dma-burst-sz = <16>; + bpp = <32>; + fdd = <0x80>; + sync-edge = <0>; + sync-ctrl = <1>; + raster-order = <0>; + fifo-th = <0>; + }; - port { - panel_0: endpoint@0 { - remote-endpoint = <&lcdc_0>; + display-timings { + 800x480p62 { + clock-frequency = <30000000>; + hactive = <800>; + vactive = <480>; + hfront-porch = <39>; + hback-porch = <39>; + hsync-len = <47>; + vback-porch = <29>; + vfront-porch = <13>; + vsync-len = <2>; + hsync-active = <1>; + vsync-active = <1>; }; }; }; @@ -413,10 +433,35 @@ }; }; +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&usb0_phy { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + &usb1 { + status = "okay"; dr_mode = "host"; }; +&cppi41dma { + status = "okay"; +}; + &i2c1 { pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; @@ -480,12 +525,6 @@ status = "okay"; blue-and-red-wiring = "crossed"; - - port { - lcdc_0: endpoint@0 { - remote-endpoint = <&panel_0>; - }; - }; }; &elm { diff --git a/sys/gnu/dts/arm/am335x-evmsk.dts b/sys/gnu/dts/arm/am335x-evmsk.dts index 32f515a295ee..e28a5b82fdf3 100644 --- a/sys/gnu/dts/arm/am335x-evmsk.dts +++ b/sys/gnu/dts/arm/am335x-evmsk.dts @@ -183,16 +183,36 @@ }; panel { - compatible = "newhaven,nhd-4.3-480272ef-atxl"; - + compatible = "ti,tilcdc,panel"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&lcd_pins_default>; pinctrl-1 = <&lcd_pins_sleep>; backlight = <&lcd_bl>; - - port { - panel_0: endpoint@0 { - remote-endpoint = <&lcdc_0>; + status = "okay"; + panel-info { + ac-bias = <255>; + ac-bias-intrpt = <0>; + dma-burst-sz = <16>; + bpp = <32>; + fdd = <0x80>; + sync-edge = <0>; + sync-ctrl = <1>; + raster-order = <0>; + fifo-th = <0>; + }; + display-timings { + 480x272 { + hactive = <480>; + vactive = <272>; + hback-porch = <43>; + hfront-porch = <8>; + hsync-len = <4>; + vback-porch = <12>; + vfront-porch = <4>; + vsync-len = <10>; + clock-frequency = <9000000>; + hsync-active = <0>; + vsync-active = <0>; }; }; }; @@ -503,10 +523,35 @@ }; }; +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&usb0_phy { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + &usb1 { + status = "okay"; dr_mode = "host"; }; +&cppi41dma { + status = "okay"; +}; + &epwmss2 { status = "okay"; @@ -705,12 +750,6 @@ status = "okay"; blue-and-red-wiring = "crossed"; - - port { - lcdc_0: endpoint@0 { - remote-endpoint = <&panel_0>; - }; - }; }; &rtc { diff --git a/sys/gnu/dts/arm/am335x-guardian.dts b/sys/gnu/dts/arm/am335x-guardian.dts index 81e0f63e94d3..c9611ea4b884 100644 --- a/sys/gnu/dts/arm/am335x-guardian.dts +++ b/sys/gnu/dts/arm/am335x-guardian.dts @@ -115,6 +115,10 @@ }; }; +&cppi41dma { + status = "okay"; +}; + &elm { status = "okay"; }; @@ -324,12 +328,30 @@ status = "okay"; }; +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + &usb0 { dr_mode = "peripheral"; + status = "okay"; +}; + +&usb0_phy { + status = "okay"; }; &usb1 { dr_mode = "host"; + status = "okay"; +}; + +&usb1_phy { + status = "okay"; }; &am33xx_pinmux { diff --git a/sys/gnu/dts/arm/am335x-icev2.dts b/sys/gnu/dts/arm/am335x-icev2.dts index 021eb57261fe..204bccfcc110 100644 --- a/sys/gnu/dts/arm/am335x-icev2.dts +++ b/sys/gnu/dts/arm/am335x-icev2.dts @@ -287,19 +287,6 @@ gpio-controller; #gpio-cells = <2>; }; - - /* osd9616p0899-10 */ - display@3c { - compatible = "solomon,ssd1306fb-i2c"; - reg = <0x3c>; - solomon,height = <16>; - solomon,width = <96>; - solomon,com-seq; - solomon,com-invdir; - solomon,page-offset = <0>; - solomon,prechargep1 = <2>; - solomon,prechargep2 = <13>; - }; }; &spi0 { diff --git a/sys/gnu/dts/arm/am335x-igep0033.dtsi b/sys/gnu/dts/arm/am335x-igep0033.dtsi index c9f354fc984a..eabcc8b2e4ea 100644 --- a/sys/gnu/dts/arm/am335x-igep0033.dtsi +++ b/sys/gnu/dts/arm/am335x-igep0033.dtsi @@ -217,10 +217,35 @@ pinctrl-0 = <&uart0_pins>; }; +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&usb0_phy { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb0 { + status = "okay"; +}; + &usb1 { + status = "okay"; dr_mode = "host"; }; +&cppi41dma { + status = "okay"; +}; + #include "tps65910.dtsi" &tps { diff --git a/sys/gnu/dts/arm/am335x-lxm.dts b/sys/gnu/dts/arm/am335x-lxm.dts index fef582852820..a8005e975ea2 100644 --- a/sys/gnu/dts/arm/am335x-lxm.dts +++ b/sys/gnu/dts/arm/am335x-lxm.dts @@ -283,14 +283,36 @@ status = "okay"; }; +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&usb0_phy { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + &usb0 { + status = "okay"; dr_mode = "host"; }; &usb1 { + status = "okay"; dr_mode = "host"; }; +&cppi41dma { + status = "okay"; +}; + &cpsw_emac0 { phy-handle = <ðphy0>; phy-mode = "rmii"; diff --git a/sys/gnu/dts/arm/am335x-moxa-uc-2100-common.dtsi b/sys/gnu/dts/arm/am335x-moxa-uc-2100-common.dtsi index 6495a125c01f..671d4a5da9c4 100644 --- a/sys/gnu/dts/arm/am335x-moxa-uc-2100-common.dtsi +++ b/sys/gnu/dts/arm/am335x-moxa-uc-2100-common.dtsi @@ -111,10 +111,27 @@ }; }; +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&usb0_phy { + status = "okay"; +}; + &usb0 { + status = "okay"; dr_mode = "host"; }; +&cppi41dma { + status = "okay"; +}; + /* Power */ &vbat { regulator-name = "vbat"; diff --git a/sys/gnu/dts/arm/am335x-moxa-uc-8100-me-t.dts b/sys/gnu/dts/arm/am335x-moxa-uc-8100-me-t.dts index 244df9c5a537..783d411f2cef 100644 --- a/sys/gnu/dts/arm/am335x-moxa-uc-8100-me-t.dts +++ b/sys/gnu/dts/arm/am335x-moxa-uc-8100-me-t.dts @@ -290,14 +290,36 @@ }; }; +&usb { + status = "okay"; +}; + +&usb_ctrl_mod { + status = "okay"; +}; + +&usb0_phy { + status = "okay"; +}; + +&usb1_phy { + status = "okay"; +}; + &usb0 { + status = "okay"; dr_mode = "host"; }; &usb1 { + status = "okay"; dr_mode = "host"; }; +&cppi41dma { + status = "okay"; +}; + #include "tps65910.dtsi" &tps { diff --git a/sys/gnu/dts/arm/am335x-netcan-plus-1xx.dts b/sys/gnu/dts/arm/am335x-netcan-plus-1xx.dts index 1e4dbc85c120..e69de29bb2d1 100644 --- a/sys/gnu/dts/arm/am335x-netcan-plus-1xx.dts +++ b/sys/gnu/dts/arm/am335x-netcan-plus-1xx.dts @@ -1,87 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - */ - -/* - * VScom OnRISC - * http://www.vscom.de - */ - -/dts-v1/; - -#include "am335x-baltos.dtsi" -#include "am335x-baltos-leds.dtsi" - -/ { - model = "NetCAN"; - - leds { - pinctrl-names = "default"; - pinctrl-0 = <&user_leds_s0>; - - compatible = "gpio-leds"; - - led@1 { - label = "can_data"; - linux,default-trigger = "netdev"; - gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; - default-state = "off"; - }; - led@2 { - label = "can_error"; - gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; - default-state = "off"; - }; - }; -}; - -&am33xx_pinmux { - user_leds_s0: user_leds_s0 { - pinctrl-single,pins = < - AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* CAN Data LED */ - AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* CAN Error LED */ - >; - }; - - dcan1_pins: pinmux_dcan1_pins { - pinctrl-single,pins = < - AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_OUTPUT, MUX_MODE2) /* CAN TX */ - AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT, MUX_MODE2) /* CAN RX */ - >; - }; -}; - -&usb0_phy { - status = "okay"; -}; - -&usb0 { - status = "okay"; - dr_mode = "host"; -}; - -&davinci_mdio { - phy0: ethernet-phy@0 { - reg = <1>; - }; -}; - -&cpsw_emac0 { - phy-mode = "rmii"; - dual_emac_res_vlan = <1>; - phy-handle = <&phy0>; -}; - -&cpsw_emac1 { - phy-mode = "rgmii-id"; - dual_emac_res_vlan = <2>; - phy-handle = <&phy1>; -}; - -&dcan1 { - pinctrl-names = "default"; - pinctrl-0 = <&dcan1_pins>; - - status = "okay"; -}; diff --git a/sys/gnu/dts/arm/am335x-netcom-plus-2xx.dts b/sys/gnu/dts/arm/am335x-netcom-plus-2xx.dts index 9a6cd8ef821f..e69de29bb2d1 100644 --- a/sys/gnu/dts/arm/am335x-netcom-plus-2xx.dts +++ b/sys/gnu/dts/arm/am335x-netcom-plus-2xx.dts @@ -1,95 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - */ - -/* - * VScom OnRISC - * http://www.vscom.de - */ - -/dts-v1/; - -#include "am335x-baltos.dtsi" -#include "am335x-baltos-leds.dtsi" - -/ { - model = "NetCom Plus"; -}; - -&am33xx_pinmux { - uart1_pins: pinmux_uart1_pins { - pinctrl-single,pins = < - AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT, MUX_MODE0) /* RX */ - AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_INPUT, MUX_MODE0) /* TX */ - AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLDOWN, MUX_MODE0) /* CTS */ - AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_OUTPUT_PULLDOWN, MUX_MODE0) /* RTS */ - AM33XX_PADCONF(AM335X_PIN_LCD_VSYNC, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* DTR */ - AM33XX_PADCONF(AM335X_PIN_LCD_HSYNC, PIN_INPUT_PULLDOWN, MUX_MODE7) /* DSR */ - AM33XX_PADCONF(AM335X_PIN_LCD_PCLK, PIN_INPUT_PULLDOWN, MUX_MODE7) /* DCD */ - AM33XX_PADCONF(AM335X_PIN_LCD_AC_BIAS_EN, PIN_INPUT_PULLDOWN, MUX_MODE7) /* RI */ - >; - }; - - uart2_pins: pinmux_uart2_pins { - pinctrl-single,pins = < - AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE1) /* RX */ - AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT, MUX_MODE1) /* TX */ - AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLDOWN, MUX_MODE2) /* CTS */ - AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_OUTPUT_PULLDOWN, MUX_MODE2) /* RTS */ - AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* DTR */ - AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLDOWN, MUX_MODE7) /* DSR */ - AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLDOWN, MUX_MODE7) /* DCD */ - AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLDOWN, MUX_MODE7) /* RI */ - >; - }; -}; - -&usb0_phy { - status = "okay"; -}; - -&usb0 { - status = "okay"; - dr_mode = "host"; -}; - -&uart1 { - pinctrl-names = "default"; - pinctrl-0 = <&uart1_pins>; - dtr-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; - dsr-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; - dcd-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>; - rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>; - - status = "okay"; -}; - -&uart2 { - pinctrl-names = "default"; - pinctrl-0 = <&uart2_pins>; - dtr-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; - dsr-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; - dcd-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; - rng-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; - - status = "okay"; -}; - -&davinci_mdio { - phy0: ethernet-phy@0 { - reg = <1>; - }; -}; - -&cpsw_emac0 { - phy-mode = "rmii"; - dual_emac_res_vlan = <1>; - phy-handle = <&phy0>; -}; - -&cpsw_emac1 { - phy-mode = "rgmii-id"; - dual_emac_res_vlan = <2>; - phy-handle = <&phy1>; -}; diff --git a/sys/gnu/dts/arm/am335x-netcom-plus-8xx.dts b/sys/gnu/dts/arm/am335x-netcom-plus-8xx.dts index 2298563f7334..e69de29bb2d1 100644 --- a/sys/gnu/dts/arm/am335x-netcom-plus-8xx.dts +++ b/sys/gnu/dts/arm/am335x-netcom-plus-8xx.dts @@ -1,115 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - */ - -/* - * VScom OnRISC - * http://www.vscom.de - */ - -/dts-v1/; - -#include "am335x-baltos.dtsi" - -/ { - model = "NetCom Plus"; -}; - -&am33xx_pinmux { - pinctrl-names = "default"; - pinctrl-0 = <&dip_switches>; - - dip_switches: pinmux_dip_switches { - pinctrl-single,pins = < - AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLDOWN, MUX_MODE7) - AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLDOWN, MUX_MODE7) - AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLDOWN, MUX_MODE7) - AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLDOWN, MUX_MODE7) - >; - }; - - tca6416_pins: pinmux_tca6416_pins { *** 7542 LINES SKIPPED ***