1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 // Copyright (C) 2019 Oceanic Systems (UK) Ltd 2 // Copyright (C) 2019 Oceanic Systems (UK) Ltd. 3 // Copyright (C) 2019 Amarula Solutions B.V. 3 // Copyright (C) 2019 Amarula Solutions B.V. 4 // Author: Jagan Teki <jagan@amarulasolutions.c 4 // Author: Jagan Teki <jagan@amarulasolutions.com> 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "sun50i-a64-sopine.dtsi" 8 #include "sun50i-a64-sopine.dtsi" 9 9 10 / { 10 / { 11 model = "Oceanic 5205 5inMFD"; 11 model = "Oceanic 5205 5inMFD"; 12 compatible = "oceanic,5205-5inmfd", "a 12 compatible = "oceanic,5205-5inmfd", "allwinner,sun50i-a64"; 13 13 14 aliases { 14 aliases { 15 ethernet0 = &emac; 15 ethernet0 = &emac; 16 serial0 = &uart0; 16 serial0 = &uart0; 17 }; 17 }; 18 18 19 chosen { 19 chosen { 20 stdout-path = "serial0:115200n 20 stdout-path = "serial0:115200n8"; 21 }; 21 }; 22 }; 22 }; 23 23 24 &ehci0 { 24 &ehci0 { 25 status = "okay"; 25 status = "okay"; 26 }; 26 }; 27 27 28 &emac { 28 &emac { 29 pinctrl-names = "default"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&rgmii_pins>; 30 pinctrl-0 = <&rgmii_pins>; 31 phy-mode = "rgmii"; 31 phy-mode = "rgmii"; 32 phy-handle = <&ext_rgmii_phy>; 32 phy-handle = <&ext_rgmii_phy>; 33 phy-supply = <®_dc1sw>; 33 phy-supply = <®_dc1sw>; 34 allwinner,tx-delay-ps = <600>; 34 allwinner,tx-delay-ps = <600>; 35 status = "okay"; 35 status = "okay"; 36 }; 36 }; 37 37 38 &i2c0 { 38 &i2c0 { 39 status = "okay"; 39 status = "okay"; 40 40 41 touchscreen@5d { 41 touchscreen@5d { 42 compatible = "goodix,gt911"; 42 compatible = "goodix,gt911"; 43 reg = <0x5d>; 43 reg = <0x5d>; 44 AVDD28-supply = <®_ldo_io0> 44 AVDD28-supply = <®_ldo_io0>; /* VDD_CTP: GPIO0-LDO */ 45 interrupt-parent = <&pio>; 45 interrupt-parent = <&pio>; 46 interrupts = <7 4 IRQ_TYPE_EDG 46 interrupts = <7 4 IRQ_TYPE_EDGE_FALLING>; 47 irq-gpios = <&pio 7 4 GPIO_ACT 47 irq-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* CTP-INT: PH4 */ 48 reset-gpios = <&pio 7 11 GPIO_ 48 reset-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* CTP-RST: PH11 */ 49 touchscreen-inverted-x; 49 touchscreen-inverted-x; 50 touchscreen-inverted-y; 50 touchscreen-inverted-y; 51 }; 51 }; 52 }; 52 }; 53 53 54 &mdio { 54 &mdio { 55 ext_rgmii_phy: ethernet-phy@1 { 55 ext_rgmii_phy: ethernet-phy@1 { 56 compatible = "ethernet-phy-iee 56 compatible = "ethernet-phy-ieee802.3-c22"; 57 reg = <1>; 57 reg = <1>; 58 }; 58 }; 59 }; 59 }; 60 60 61 &ohci0 { 61 &ohci0 { 62 status = "okay"; 62 status = "okay"; 63 }; 63 }; 64 64 65 ®_dc1sw { 65 ®_dc1sw { 66 regulator-name = "vcc-phy"; 66 regulator-name = "vcc-phy"; 67 }; 67 }; 68 68 69 ®_ldo_io0 { 69 ®_ldo_io0 { 70 regulator-min-microvolt = <2800000>; 70 regulator-min-microvolt = <2800000>; 71 regulator-max-microvolt = <2800000>; 71 regulator-max-microvolt = <2800000>; 72 regulator-name = "vdd-ctp"; 72 regulator-name = "vdd-ctp"; 73 status = "okay"; 73 status = "okay"; 74 }; 74 }; 75 75 76 &uart0 { 76 &uart0 { 77 pinctrl-names = "default"; 77 pinctrl-names = "default"; 78 pinctrl-0 = <&uart0_pb_pins>; 78 pinctrl-0 = <&uart0_pb_pins>; 79 status = "okay"; 79 status = "okay"; 80 }; 80 }; 81 81 82 &usb_otg { 82 &usb_otg { 83 dr_mode = "host"; 83 dr_mode = "host"; 84 status = "okay"; 84 status = "okay"; 85 }; 85 }; 86 86 87 &usbphy { 87 &usbphy { 88 status = "okay"; 88 status = "okay"; 89 }; 89 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.