1*5b130954SEmmanuel Vadot/dts-v1/; 2*5b130954SEmmanuel Vadot/plugin/; 3*5b130954SEmmanuel Vadot 4*5b130954SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 5*5b130954SEmmanuel Vadot 6*5b130954SEmmanuel Vadot/ { 7*5b130954SEmmanuel Vadot compatible = "allwinner,sun50i-h5"; 8*5b130954SEmmanuel Vadot}; 9*5b130954SEmmanuel Vadot 10*5b130954SEmmanuel Vadot&{/} { 11*5b130954SEmmanuel Vadot vdd_cpux: gpio-regulator { 12*5b130954SEmmanuel Vadot compatible = "regulator-gpio"; 13*5b130954SEmmanuel Vadot pinctrl-names = "default"; 14*5b130954SEmmanuel Vadot regulator-name = "vdd-cpux"; 15*5b130954SEmmanuel Vadot regulator-type = "voltage"; 16*5b130954SEmmanuel Vadot regulator-boot-on; 17*5b130954SEmmanuel Vadot regulator-always-on; 18*5b130954SEmmanuel Vadot regulator-min-microvolt = <1100000>; 19*5b130954SEmmanuel Vadot regulator-max-microvolt = <1300000>; 20*5b130954SEmmanuel Vadot regulator-ramp-delay = <50>; /* 4ms */ 21*5b130954SEmmanuel Vadot gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ 22*5b130954SEmmanuel Vadot gpios-states = <0x1>; 23*5b130954SEmmanuel Vadot states = <1100000 0x0 24*5b130954SEmmanuel Vadot 1300000 0x1>; 25*5b130954SEmmanuel Vadot }; 26*5b130954SEmmanuel Vadot 27*5b130954SEmmanuel Vadot}; 28*5b130954SEmmanuel Vadot 29*5b130954SEmmanuel Vadot&{/cpus/cpu@0} { 30*5b130954SEmmanuel Vadot cpu-supply = <&vdd_cpux>; 31*5b130954SEmmanuel Vadot}; 32*5b130954SEmmanuel Vadot 33