1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /* 2 /* 3 * Copyright (C) Protonic Holland 3 * Copyright (C) Protonic Holland 4 * Author: David Jander <david@protonic.nl> 4 * Author: David Jander <david@protonic.nl> 5 */ 5 */ 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "stm32mp153.dtsi" 8 #include "stm32mp153.dtsi" 9 #include "stm32mp15xc.dtsi" 9 #include "stm32mp15xc.dtsi" 10 #include "stm32mp15-pinctrl.dtsi" 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxaa-pinctrl.dtsi" 11 #include "stm32mp15xxaa-pinctrl.dtsi" 12 #include "stm32mp15x-mecio1-io.dtsi" 12 #include "stm32mp15x-mecio1-io.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/leds/common.h> 16 16 17 / { 17 / { 18 model = "Protonic MECIO1r1"; 18 model = "Protonic MECIO1r1"; 19 compatible = "prt,mecio1r1", "st,stm32 19 compatible = "prt,mecio1r1", "st,stm32mp153"; 20 20 21 led { 21 led { 22 compatible = "gpio-leds"; 22 compatible = "gpio-leds"; 23 23 24 led-0 { 24 led-0 { 25 color = <LED_COLOR_ID_ 25 color = <LED_COLOR_ID_RED>; 26 function = LED_FUNCTIO 26 function = LED_FUNCTION_DEBUG; 27 gpios = <&gpioa 13 GPI 27 gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; 28 }; 28 }; 29 29 30 led-1 { 30 led-1 { 31 color = <LED_COLOR_ID_ 31 color = <LED_COLOR_ID_GREEN>; 32 function = LED_FUNCTIO 32 function = LED_FUNCTION_DEBUG; 33 gpios = <&gpioa 14 GPI 33 gpios = <&gpioa 14 GPIO_ACTIVE_LOW>; 34 linux,default-trigger 34 linux,default-trigger = "heartbeat"; 35 }; 35 }; 36 }; 36 }; 37 }; 37 }; 38 38 39 &clk_hse { 39 &clk_hse { 40 clock-frequency = <24000000>; 40 clock-frequency = <24000000>; 41 }; 41 }; 42 42 43 &m_can1 { 43 &m_can1 { 44 pinctrl-names = "default", "sleep"; 44 pinctrl-names = "default", "sleep"; 45 pinctrl-0 = <&m_can1_pins_b>; 45 pinctrl-0 = <&m_can1_pins_b>; 46 pinctrl-1 = <&m_can1_sleep_pins_b>; 46 pinctrl-1 = <&m_can1_sleep_pins_b>; 47 status = "okay"; 47 status = "okay"; 48 }; 48 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.