1*0ce1d346SSamuel Holland// SPDX-License-Identifier: (GPL-2.0+ or MIT) 2*0ce1d346SSamuel Holland// Copyright (C) 2022 Samuel Holland <samuel@sholland.org> 3*0ce1d346SSamuel Holland 4*0ce1d346SSamuel Holland#include "sun20i-d1-clockworkpi-v3.14.dts" 5*0ce1d346SSamuel Holland 6*0ce1d346SSamuel Holland/ { 7*0ce1d346SSamuel Holland model = "Clockwork DevTerm (R-01)"; 8*0ce1d346SSamuel Holland compatible = "clockwork,r-01-devterm-v3.14", 9*0ce1d346SSamuel Holland "clockwork,r-01-clockworkpi-v3.14", 10*0ce1d346SSamuel Holland "allwinner,sun20i-d1"; 11*0ce1d346SSamuel Holland 12*0ce1d346SSamuel Holland fan { 13*0ce1d346SSamuel Holland compatible = "gpio-fan"; 14*0ce1d346SSamuel Holland gpios = <&pio 3 10 GPIO_ACTIVE_HIGH>; /* PD10/GPIO41 */ 15*0ce1d346SSamuel Holland gpio-fan,speed-map = <0 0>, 16*0ce1d346SSamuel Holland <6000 1>; 17*0ce1d346SSamuel Holland #cooling-cells = <2>; 18*0ce1d346SSamuel Holland }; 19*0ce1d346SSamuel Holland 20*0ce1d346SSamuel Holland i2c-gpio-0 { 21*0ce1d346SSamuel Holland compatible = "i2c-gpio"; 22*0ce1d346SSamuel Holland sda-gpios = <&pio 3 14 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PD14/GPIO44 */ 23*0ce1d346SSamuel Holland scl-gpios = <&pio 3 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PD15/GPIO45 */ 24*0ce1d346SSamuel Holland #address-cells = <1>; 25*0ce1d346SSamuel Holland #size-cells = <0>; 26*0ce1d346SSamuel Holland 27*0ce1d346SSamuel Holland adc@54 { 28*0ce1d346SSamuel Holland compatible = "ti,adc101c"; 29*0ce1d346SSamuel Holland reg = <0x54>; 30*0ce1d346SSamuel Holland interrupt-parent = <&pio>; 31*0ce1d346SSamuel Holland interrupts = <4 12 IRQ_TYPE_LEVEL_LOW>; /* PE12/GPIO35 */ 32*0ce1d346SSamuel Holland vref-supply = <®_dldo2>; 33*0ce1d346SSamuel Holland #io-channel-cells = <1>; 34*0ce1d346SSamuel Holland }; 35*0ce1d346SSamuel Holland }; 36*0ce1d346SSamuel Holland}; 37