1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (C) 2019 Bootlin 3 * Copyright (C) 2019 Bootlin 4 * Author: Paul Kocialkowski <paul.kocialkowski 4 * Author: Paul Kocialkowski <paul.kocialkowski@bootlin.com> 5 */ 5 */ 6 6 7 /dts-v1/; 7 /dts-v1/; 8 #include "sun8i-h3.dtsi" 8 #include "sun8i-h3.dtsi" 9 #include "sunxi-common-regulators.dtsi" 9 #include "sunxi-common-regulators.dtsi" 10 10 11 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/input/input.h> 13 13 14 / { 14 / { 15 model = "RerVision H3-DVK"; 15 model = "RerVision H3-DVK"; 16 compatible = "rervision,h3-dvk", "allw 16 compatible = "rervision,h3-dvk", "allwinner,sun8i-h3"; 17 17 18 aliases { 18 aliases { 19 ethernet0 = &emac; 19 ethernet0 = &emac; 20 serial0 = &uart0; 20 serial0 = &uart0; 21 }; 21 }; 22 22 23 chosen { 23 chosen { 24 stdout-path = "serial0:115200n 24 stdout-path = "serial0:115200n8"; 25 }; 25 }; 26 26 27 connector { 27 connector { 28 compatible = "hdmi-connector"; 28 compatible = "hdmi-connector"; 29 type = "a"; 29 type = "a"; 30 30 31 port { 31 port { 32 hdmi_con_in: endpoint 32 hdmi_con_in: endpoint { 33 remote-endpoin 33 remote-endpoint = <&hdmi_out_con>; 34 }; 34 }; 35 }; 35 }; 36 }; 36 }; 37 }; 37 }; 38 38 39 &de { 39 &de { 40 status = "okay"; 40 status = "okay"; 41 }; 41 }; 42 42 43 &ehci1 { 43 &ehci1 { 44 status = "okay"; 44 status = "okay"; 45 }; 45 }; 46 46 47 &ehci2 { 47 &ehci2 { 48 status = "okay"; 48 status = "okay"; 49 }; 49 }; 50 50 51 &ehci3 { 51 &ehci3 { 52 status = "okay"; 52 status = "okay"; 53 }; 53 }; 54 54 55 &emac { 55 &emac { 56 phy-handle = <&int_mii_phy>; 56 phy-handle = <&int_mii_phy>; 57 phy-mode = "mii"; 57 phy-mode = "mii"; 58 allwinner,leds-active-low; 58 allwinner,leds-active-low; 59 status = "okay"; 59 status = "okay"; 60 }; 60 }; 61 61 62 &hdmi { 62 &hdmi { 63 status = "okay"; 63 status = "okay"; 64 }; 64 }; 65 65 66 &hdmi_out { 66 &hdmi_out { 67 hdmi_out_con: endpoint { 67 hdmi_out_con: endpoint { 68 remote-endpoint = <&hdmi_con_i 68 remote-endpoint = <&hdmi_con_in>; 69 }; 69 }; 70 }; 70 }; 71 71 72 &mmc0 { 72 &mmc0 { 73 bus-width = <4>; 73 bus-width = <4>; 74 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; 74 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */ 75 status = "okay"; 75 status = "okay"; 76 vmmc-supply = <®_vcc3v3>; 76 vmmc-supply = <®_vcc3v3>; 77 }; 77 }; 78 78 79 &mmc2 { 79 &mmc2 { 80 pinctrl-names = "default"; 80 pinctrl-names = "default"; 81 pinctrl-0 = <&mmc2_8bit_pins>; 81 pinctrl-0 = <&mmc2_8bit_pins>; 82 vmmc-supply = <®_vcc3v3>; 82 vmmc-supply = <®_vcc3v3>; 83 bus-width = <8>; 83 bus-width = <8>; 84 non-removable; 84 non-removable; 85 cap-mmc-hw-reset; 85 cap-mmc-hw-reset; 86 status = "okay"; 86 status = "okay"; 87 }; 87 }; 88 88 89 &ohci1 { 89 &ohci1 { 90 status = "okay"; 90 status = "okay"; 91 }; 91 }; 92 92 93 &ohci2 { 93 &ohci2 { 94 status = "okay"; 94 status = "okay"; 95 }; 95 }; 96 96 97 &ohci3 { 97 &ohci3 { 98 status = "okay"; 98 status = "okay"; 99 }; 99 }; 100 100 101 &uart0 { 101 &uart0 { 102 pinctrl-names = "default"; 102 pinctrl-names = "default"; 103 pinctrl-0 = <&uart0_pa_pins>; 103 pinctrl-0 = <&uart0_pa_pins>; 104 status = "okay"; 104 status = "okay"; 105 }; 105 }; 106 106 107 &usb_otg { 107 &usb_otg { 108 status = "okay"; 108 status = "okay"; 109 dr_mode = "peripheral"; 109 dr_mode = "peripheral"; 110 }; 110 }; 111 111 112 &usbphy { 112 &usbphy { 113 status = "okay"; 113 status = "okay"; 114 }; 114 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.