* SPICE netlist
V1 IN 0 12
R1 IN N001 15m
L1 N001 N002 10 Rser=0.1 Rpar=5K
D1 N002 OUT MBRS1100
C1 OUT 0 2.2 m=2 Rser=25m
C2 N006 0 1
C3 N010 N013 8.2n
R2 N011 0 90.9K
C4 N012 0 5n
C5 N008 0 4.7
D2 N009 0 LXHL-BW02 n=17
M1 N009 N007 N005 N005 Si7113DN
R3 OUT N005 750m
R4 N004 0 21.5K
R5 OUT N004 1Meg
XU1 OUT N005 N007 0 NC_01 N002 N004 N010 N003 N003 N012 N011 N003 NC_02 NC_03 NC_04 N008 MP_05 MP_06 N008 MP_07 MP_08 IN IN 0 N001 IN N006 LT3952A ;pnba ISP)ISN)TG)GND)ISMON)SW)FB)VC)CTRL)VREF)SS)RT)DIM)PWM)_SHORTLED)_OPENLED)SYNC/SPRD)))INTVCC)))VIN)EN/UVLO)OVLO)IVINN)IVINP)IVINCOMP
R6 N013 0 3.65K
.tran 2.4m startup

* LTspice schematic (.asc)
Version 4.1
SHEET 1 1008 1088
WIRE -392 -544 -504 -544
WIRE -296 -544 -392 -544
WIRE -200 -544 -296 -544
WIRE -104 -544 -200 -544
WIRE -88 -544 -104 -544
WIRE 56 -544 -8 -544
WIRE 152 -544 136 -544
WIRE 200 -544 152 -544
WIRE 312 -544 264 -544
WIRE 392 -544 312 -544
WIRE 456 -544 392 -544
WIRE 504 -544 456 -544
WIRE 392 -528 392 -544
WIRE -504 -512 -504 -544
WIRE -296 -496 -296 -544
WIRE -200 -496 -200 -544
WIRE -104 -496 -104 -544
WIRE -8 -496 -8 -544
WIRE 392 -448 392 -464
WIRE -504 -416 -504 -432
WIRE -360 -416 -392 -416
WIRE 152 -416 152 -544
WIRE 152 -416 56 -416
WIRE 312 -368 312 -544
WIRE -360 -320 -392 -320
WIRE 72 -320 56 -320
WIRE 312 -256 312 -288
WIRE 312 -256 104 -256
WIRE 312 -240 312 -256
WIRE -392 -224 -392 -320
WIRE -360 -224 -392 -224
WIRE 104 -224 104 -256
WIRE 104 -224 56 -224
WIRE -392 -128 -392 -224
WIRE -360 -128 -392 -128
WIRE 504 -128 504 -544
WIRE 504 -128 56 -128
WIRE 504 -32 504 -48
WIRE 504 -32 56 -32
WIRE 504 48 504 -32
WIRE -360 64 -456 64
WIRE 456 64 56 64
WIRE -456 80 -456 64
WIRE -456 160 -456 144
WIRE 120 160 56 160
WIRE 504 208 504 144
WIRE 120 256 120 160
WIRE 120 256 56 256
WIRE 120 272 120 256
WIRE 504 320 504 272
WIRE -200 352 -200 336
WIRE -104 352 -104 336
WIRE -8 352 -8 336
WIRE 120 352 120 336
WIRE -200 448 -200 416
WIRE -104 448 -104 432
WIRE -8 448 -8 416
WIRE -200 544 -200 528
FLAG 72 -320 0
FLAG 392 -448 0
FLAG -504 -416 0
FLAG -392 -416 0
FLAG -456 160 0
FLAG -200 544 0
FLAG -104 448 0
FLAG -8 448 0
FLAG 120 352 0
FLAG 504 320 0
FLAG 312 -160 0
FLAG -392 -544 IN
FLAG 456 -544 OUT
SYMBOL voltage -504 -528 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res -104 -528 R270
SYMATTR InstName R1
SYMATTR Value 15m
SYMBOL ind 40 -528 R270
SYMATTR InstName L1
SYMATTR Value 10
SYMATTR SpiceLine Rser=0.1 Rpar=5K
SYMBOL schottky 200 -528 R270
SYMATTR InstName D1
SYMATTR Value MBRS1100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 376 -528 R0
SYMATTR Value2 m=2
SYMATTR Value 2.2
SYMATTR SpiceLine Rser=25m
SYMATTR InstName C1
SYMBOL cap -472 80 R0
SYMATTR InstName C2
SYMATTR Value 1
SYMBOL cap -216 352 R0
SYMATTR Value 8.2n
SYMATTR InstName C3
SYMBOL res -120 336 R0
SYMATTR InstName R2
SYMATTR Value 90.9K
SYMBOL cap -24 352 R0
SYMATTR InstName C4
SYMATTR Value 5n
SYMBOL cap 104 272 R0
SYMATTR InstName C5
SYMATTR Value 4.7
SYMBOL LED 488 208 R0
SYMATTR Value2 n=17
SYMATTR InstName D2
SYMATTR Value LXHL-BW02
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL pmos 456 144 M180
SYMATTR InstName M1
SYMATTR Value Si7113DN
SYMBOL res 488 -144 R0
SYMATTR InstName R3
SYMATTR Value 750m
SYMBOL res 296 -256 R0
SYMATTR InstName R4
SYMATTR Value 21.5K
SYMBOL res 296 -384 R0
SYMATTR InstName R5
SYMATTR Value 1Meg
SYMBOL LT3952A -152 -80 R0
SYMATTR InstName U1
SYMBOL res -216 432 R0
SYMATTR InstName R6
SYMATTR Value 3.65K