Searched +full:lan9662 +full:- +full:otpc (Results 1 – 3 of 3) sorted by relevance
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---4 $id: http://devicetree.org/schemas/nvmem/microchip,lan9662-otpc.yaml#5 $schema: http://devicetree.org/meta-schemas/core.yaml#7 title: Microchip LAN9662 OTP Controller (OTPC)10 - Horatiu Vultur <horatiu.vultur@microchip.com>18 - $ref: nvmem.yaml#23 - items:24 - const: microchip,lan9668-otpc25 - const: microchip,lan9662-otpc[all …]
1 // SPDX-License-Identifier: GPL-2.05 #include <linux/nvmem-provider.h>49 void __iomem *pwrdn = OTP_OTP_PWR_DN(otp->base); in lan9662_otp_power()53 if (lan9662_otp_wait_flag_clear(OTP_OTP_STATUS(otp->base), in lan9662_otp_power()55 return -ETIMEDOUT; in lan9662_otp_power()65 if (lan9662_otp_wait_flag_clear(OTP_OTP_CMD_GO(otp->base), in lan9662_otp_execute()67 return -ETIMEDOUT; in lan9662_otp_execute()69 if (lan9662_otp_wait_flag_clear(OTP_OTP_STATUS(otp->base), in lan9662_otp_execute()71 return -ETIMEDOUT; in lan9662_otp_execute()78 writel(0xff & (offset >> 8), OTP_OTP_ADDR_HI(otp->base)); in lan9662_otp_set_address()[all …]
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)3 * lan966x.dtsi - Device Tree Include file for Microchip LAN966 family SoC11 #include <dt-bindings/interrupt-controller/irq.h>12 #include <dt-bindings/interrupt-controller/arm-gic.h>13 #include <dt-bindings/mfd/atmel-flexcom.h>14 #include <dt-bindings/dma/at91.h>15 #include <dt-bindings/gpio/gpio.h>16 #include <dt-bindings/clock/microchip,lan966x.h>21 interrupt-parent = <&gic>;22 #address-cells = <1>;[all …]