1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 2 /* 2 /* 3 * Copyright (C) 2024 Kontron Electronics GmbH 3 * Copyright (C) 2024 Kontron Electronics GmbH 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "imx93-kontron-osm-s.dtsi" 8 #include "imx93-kontron-osm-s.dtsi" 9 9 10 / { 10 / { 11 model = "Kontron BL i.MX93 OSM-S"; 11 model = "Kontron BL i.MX93 OSM-S"; 12 compatible = "kontron,imx93-bl-osm-s", 12 compatible = "kontron,imx93-bl-osm-s", "kontron,imx93-osm-s", "fsl,imx93"; 13 13 14 aliases { 14 aliases { 15 ethernet0 = &fec; 15 ethernet0 = &fec; 16 ethernet1 = &eqos; 16 ethernet1 = &eqos; 17 }; 17 }; 18 18 19 leds { 19 leds { 20 compatible = "gpio-leds"; 20 compatible = "gpio-leds"; 21 21 22 led1 { 22 led1 { 23 label = "led1"; 23 label = "led1"; 24 gpios = <&gpio2 3 GPIO 24 gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>; 25 linux,default-trigger 25 linux,default-trigger = "heartbeat"; 26 }; 26 }; 27 }; 27 }; 28 28 29 pwm-beeper { 29 pwm-beeper { 30 compatible = "pwm-beeper"; 30 compatible = "pwm-beeper"; 31 pwms = <&tpm6 1 5000 0>; 31 pwms = <&tpm6 1 5000 0>; 32 }; 32 }; 33 33 34 reg_vcc_panel: regulator-vcc-panel { 34 reg_vcc_panel: regulator-vcc-panel { 35 compatible = "regulator-fixed" 35 compatible = "regulator-fixed"; 36 gpio = <&gpio4 3 GPIO_ACTIVE_H 36 gpio = <&gpio4 3 GPIO_ACTIVE_HIGH>; 37 enable-active-high; 37 enable-active-high; 38 regulator-max-microvolt = <330 38 regulator-max-microvolt = <3300000>; 39 regulator-min-microvolt = <330 39 regulator-min-microvolt = <3300000>; 40 regulator-name = "VCC_PANEL"; 40 regulator-name = "VCC_PANEL"; 41 }; 41 }; 42 }; 42 }; 43 43 44 &eqos { /* Second ethernet (OSM-S ETH_B) */ 44 &eqos { /* Second ethernet (OSM-S ETH_B) */ 45 pinctrl-names = "default"; 45 pinctrl-names = "default"; 46 pinctrl-0 = <&pinctrl_eqos_rgmii>; 46 pinctrl-0 = <&pinctrl_eqos_rgmii>; 47 phy-mode = "rgmii-id"; 47 phy-mode = "rgmii-id"; 48 phy-handle = <ðphy1>; 48 phy-handle = <ðphy1>; 49 status = "okay"; 49 status = "okay"; 50 50 51 mdio { 51 mdio { 52 compatible = "snps,dwmac-mdio" 52 compatible = "snps,dwmac-mdio"; 53 #address-cells = <1>; 53 #address-cells = <1>; 54 #size-cells = <0>; 54 #size-cells = <0>; 55 55 56 ethphy1: ethernet-phy@1 { 56 ethphy1: ethernet-phy@1 { 57 compatible = "ethernet 57 compatible = "ethernet-phy-id4f51.e91b"; 58 reg = <1>; 58 reg = <1>; 59 reset-assert-us = <100 59 reset-assert-us = <10000>; 60 reset-gpios = <&gpio1 60 reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; 61 }; 61 }; 62 }; 62 }; 63 }; 63 }; 64 64 65 &fec { /* First ethernet (OSM-S ETH_A) */ 65 &fec { /* First ethernet (OSM-S ETH_A) */ 66 pinctrl-names = "default"; 66 pinctrl-names = "default"; 67 pinctrl-0 = <&pinctrl_enet_rgmii>; 67 pinctrl-0 = <&pinctrl_enet_rgmii>; 68 phy-connection-type = "rgmii-id"; 68 phy-connection-type = "rgmii-id"; 69 phy-handle = <ðphy0>; 69 phy-handle = <ðphy0>; 70 status = "okay"; 70 status = "okay"; 71 71 72 mdio { 72 mdio { 73 #address-cells = <1>; 73 #address-cells = <1>; 74 #size-cells = <0>; 74 #size-cells = <0>; 75 75 76 ethphy0: ethernet-phy@1 { 76 ethphy0: ethernet-phy@1 { 77 compatible = "ethernet 77 compatible = "ethernet-phy-id4f51.e91b"; 78 reg = <1>; 78 reg = <1>; 79 reset-assert-us = <100 79 reset-assert-us = <10000>; 80 reset-gpios = <&gpio2 80 reset-gpios = <&gpio2 18 GPIO_ACTIVE_LOW>; 81 }; 81 }; 82 }; 82 }; 83 }; 83 }; 84 84 85 &flexcan1 { 85 &flexcan1 { 86 status = "okay"; 86 status = "okay"; 87 }; 87 }; 88 88 89 &lpi2c2 { 89 &lpi2c2 { 90 status = "okay"; 90 status = "okay"; 91 91 92 gpio_expander_dio: gpio@20 { 92 gpio_expander_dio: gpio@20 { 93 compatible = "ti,tca6408"; 93 compatible = "ti,tca6408"; 94 reg = <0x20>; 94 reg = <0x20>; 95 gpio-controller; 95 gpio-controller; 96 #gpio-cells = <2>; 96 #gpio-cells = <2>; 97 gpio-line-names = "DIO1_OUT"," 97 gpio-line-names = "DIO1_OUT","DIO1_IN", "DIO2_OUT","DIO2_IN", 98 "DIO3_OUT"," 98 "DIO3_OUT","DIO3_IN", "DIO4_OUT","DIO4_IN"; 99 interrupt-parent = <&gpio4>; 99 interrupt-parent = <&gpio4>; 100 interrupts = <28 IRQ_TYPE_EDGE 100 interrupts = <28 IRQ_TYPE_EDGE_FALLING>; 101 reset-gpios = <&gpio2 2 GPIO_A 101 reset-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; 102 }; 102 }; 103 }; 103 }; 104 104 105 &lpspi8 { 105 &lpspi8 { 106 assigned-clocks = <&clk IMX93_CLK_LPSP 106 assigned-clocks = <&clk IMX93_CLK_LPSPI8>; 107 assigned-clock-parents = <&clk IMX93_C 107 assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD0_DIV2>; 108 assigned-clock-rates = <100000000>; 108 assigned-clock-rates = <100000000>; 109 status = "okay"; 109 status = "okay"; 110 110 111 eeram@0 { 111 eeram@0 { 112 compatible = "microchip,48l640 112 compatible = "microchip,48l640"; 113 reg = <0>; 113 reg = <0>; 114 spi-max-frequency = <20000000> 114 spi-max-frequency = <20000000>; 115 }; 115 }; 116 }; 116 }; 117 117 118 &lpuart1 { 118 &lpuart1 { 119 status = "okay"; 119 status = "okay"; 120 }; 120 }; 121 121 122 &lpuart7 { 122 &lpuart7 { 123 uart-has-rtscts; 123 uart-has-rtscts; 124 status = "okay"; 124 status = "okay"; 125 }; 125 }; 126 126 127 &lpuart6 { 127 &lpuart6 { 128 linux,rs485-enabled-at-boot-time; 128 linux,rs485-enabled-at-boot-time; 129 uart-has-rtscts; 129 uart-has-rtscts; 130 status = "okay"; 130 status = "okay"; 131 }; 131 }; 132 132 133 &tpm6 { 133 &tpm6 { 134 status = "okay"; 134 status = "okay"; 135 }; 135 }; 136 136 137 &usbotg1 { 137 &usbotg1 { 138 #address-cells = <1>; 138 #address-cells = <1>; 139 #size-cells = <0>; 139 #size-cells = <0>; 140 disable-over-current; 140 disable-over-current; 141 dr_mode = "host"; 141 dr_mode = "host"; 142 status = "okay"; 142 status = "okay"; 143 143 144 usb1@1 { 144 usb1@1 { 145 compatible = "usb424,2514"; 145 compatible = "usb424,2514"; 146 reg = <1>; 146 reg = <1>; 147 }; 147 }; 148 }; 148 }; 149 149 150 &usbotg2 { 150 &usbotg2 { 151 adp-disable; 151 adp-disable; 152 hnp-disable; 152 hnp-disable; 153 srp-disable; 153 srp-disable; 154 disable-over-current; 154 disable-over-current; 155 dr_mode = "otg"; 155 dr_mode = "otg"; 156 usb-role-switch; 156 usb-role-switch; 157 status = "okay"; 157 status = "okay"; 158 }; 158 }; 159 159 160 &usdhc2 { 160 &usdhc2 { 161 vmmc-supply = <®_vdd_3v3>; 161 vmmc-supply = <®_vdd_3v3>; 162 status = "okay"; 162 status = "okay"; 163 }; 163 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.