* SPICE netlist
Crx ACIN 0 47n
Lrx 0 ACIN 13
D1 Vcc N004 NSCW100
R1 N007 0 12.4k
C1 OUT 0 2.2
CBAT BAT 0 0.1m IC=3.5 Rser=1m
Ltx N003 N001 6.8
V2 N002 0 3.3
R3 OUT 0 10k
Ctx N001 N003 47n
XU2 N001 0 N008 0 N001 N005 LTC6990 ;pnba OE)GND)SET)DIV)V+)OUT
M1 N003 N006 0 0 Si2316DS
V1 N001 0 5
R2 N008 0 243k
R4 N006 N005 10
XU1 0 N002 NC_01 N007 NC_02 N004 ACIN BAT NC_03 NC_04 Vcc OUT 0 LTC4126-ADJ S_Timer=20m f_FAST=4.58k f_SLOW=1.14k ;pnba NTC)EN)_PBEN)PROG)ACPR)_CHRG)ACIN)BAT)STAT2)STAT1)Vcc)OUT)GND
.tran 25m startup
K1 Ltx Lrx 0.2

* LTspice schematic (.asc)
Version 4
SHEET 1 1600 672
WIRE -480 -336 -688 -336
WIRE -352 -336 -480 -336
WIRE -240 -336 -352 -336
WIRE 0 -336 -112 -336
WIRE 160 -336 0 -336
WIRE 208 -336 160 -336
WIRE 688 -336 592 -336
WIRE -688 -304 -688 -336
WIRE -352 -304 -352 -336
WIRE -240 -304 -240 -336
WIRE -112 -304 -112 -336
WIRE 0 -304 0 -336
WIRE 688 -304 688 -336
WIRE 176 -240 80 -240
WIRE 208 -240 176 -240
WIRE 80 -224 80 -240
WIRE -112 -208 -112 -224
WIRE 0 -208 0 -240
WIRE -688 -192 -688 -224
WIRE -352 -192 -352 -240
WIRE -240 -192 -240 -224
WIRE -240 -192 -352 -192
WIRE 688 -192 688 -224
WIRE 80 -144 80 -160
WIRE 208 -144 80 -144
WIRE -480 -64 -480 -336
WIRE -480 -64 -800 -64
WIRE -240 -64 -240 -192
WIRE 624 -16 592 -16
WIRE 800 -16 624 -16
WIRE 800 0 800 -16
WIRE -800 16 -800 -64
WIRE -752 16 -800 16
WIRE -448 16 -528 16
WIRE -288 16 -368 16
WIRE -240 80 -240 32
WIRE 208 80 176 80
WIRE -752 96 -784 96
WIRE -480 96 -480 -64
WIRE -480 96 -528 96
WIRE 208 128 112 128
WIRE 624 128 592 128
WIRE 640 128 624 128
WIRE 736 128 640 128
WIRE 800 128 800 64
WIRE 112 144 112 128
WIRE 640 144 640 128
WIRE 736 144 736 128
WIRE -752 176 -784 176
WIRE -496 176 -528 176
WIRE -784 224 -784 176
WIRE 112 240 112 224
WIRE 400 240 400 208
WIRE 640 240 640 208
WIRE 736 240 736 224
WIRE -784 336 -784 304
FLAG 400 240 0
FLAG 0 -208 0
FLAG -112 -208 0
FLAG 112 240 0
FLAG 176 80 0
FLAG 640 240 0
FLAG 800 128 0
FLAG 160 -336 ACIN
FLAG 176 -240 Vcc
FLAG 624 -16 BAT
FLAG 624 128 OUT
FLAG 688 -192 0
FLAG 736 240 0
FLAG -240 80 0
FLAG -496 176 0
FLAG -688 -192 0
FLAG -784 96 0
FLAG -784 336 0
SYMBOL cap -16 -304 R0
SYMATTR InstName Crx
SYMATTR Value 47n
SYMBOL ind2 -96 -208 R180
SYMATTR InstName Lrx
SYMATTR Value 13
SYMATTR Type ind
SYMBOL LED 64 -224 R0
SYMATTR InstName D1
SYMATTR Value NSCW100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 96 128 R0
SYMATTR InstName R1
SYMATTR Value 12.4k
SYMBOL cap 624 144 R0
SYMATTR InstName C1
SYMATTR Value 2.2
SYMBOL cap 784 0 R0
SYMATTR Value2 IC=3.5
SYMATTR SpiceLine Rser=1m
SYMATTR InstName BAT
SYMATTR Value 0.1m
SYMBOL ind2 -256 -208 M180
SYMATTR InstName Ltx
SYMATTR Value 6.8
SYMATTR Type ind
SYMBOL voltage 688 -320 R0
SYMATTR InstName V2
SYMATTR Value 3.3
SYMBOL res 720 128 R0
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL cap -368 -304 R0
SYMATTR InstName Ctx
SYMATTR Value 47n
SYMBOL LTC6990 -640 96 R0
SYMATTR InstName U2
SYMBOL nmos -288 -64 R0
SYMATTR InstName M1
SYMATTR Value Si2316DS
SYMBOL voltage -688 -320 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res -800 208 R0
SYMATTR InstName R2
SYMATTR Value 243k
SYMBOL res -352 0 R90
SYMATTR InstName R4
SYMATTR Value 10
SYMBOL LTC4126-ADJ 400 -80 R0
SYMATTR InstName U1
SYMATTR Value2 S_Timer=20m